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

:root {
    --primary: hsl(215, 70%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(210, 15%, 95%);
    --secondary-foreground: hsl(215, 25%, 15%);
    --accent: hsl(185, 85%, 45%);
    --accent-foreground: hsl(0, 0%, 100%);
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(215, 25%, 15%);
    --muted: hsl(210, 15%, 96%);
    --muted-foreground: hsl(215, 15%, 50%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 15%);
    --border: hsl(215, 20%, 88%);
    --radius: 0.75rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-carousel {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    top: 25%;
    display: flex;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* .navbar:not(.scrolled) .nav-links a,
.navbar:not(.scrolled) .logo-text {
    color: white;
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .logo-text {
    color: var(--foreground);
} */

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo-button:hover {
    opacity: 0.8;
}

.logo {
    height: 3rem;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
    left: 0%;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Buttons */
.btn {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: hsl(215, 70%, 20%);
}

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

.btn-secondary:hover {
    background: hsl(210, 15%, 90%);
}

.btn-accent {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background: hsl(185, 85%, 40%);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 700px;
    /* margin-top: 5rem; */
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 51, 82, 0.9), rgba(23, 51, 82, 0.6));
}

.carousel-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 48rem;
    color: var(--primary-foreground);
    animation: fadeIn 0.6s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 2rem;
    background: var(--accent);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease-out;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-underline {
    width: 6rem;
    height: 0.25rem;
    background: var(--accent);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    animation: fadeIn 0.6s ease-out;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(19, 184, 205, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--muted-foreground);
}

/* Commitment Card */
.commitment-card {
    background: var(--card);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

.commitment-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.commitment-text {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--muted-foreground);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeIn 0.6s ease-out;
}

.product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 51, 82, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.features-heading {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-features {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.product-features li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.75rem;
}

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

.client-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: fadeIn 0.6s ease-out;
}

.client-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.client-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(19, 184, 205, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.client-name {
    font-weight: 600;
    text-align: center;
    font-size: 0.875rem;
}

.client-logo {
    width: 100%;
    height: auto;
    max-height: 6rem;
    object-fit: contain;
}

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

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

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--muted-foreground);
}

/* Group Companies Section */
.group-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.group-company-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    border: 1px solid rgba(19, 184, 205, 0.1);
}

.group-company-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 15px 30px rgba(19, 184, 205, 0.2);
    border-color: rgba(19, 184, 205, 0.3);
}

.company-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(19, 184, 205, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.group-company-card:hover .company-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.company-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.company-description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Group Companies Section - Compact List */
.group-companies-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  margin-top: 2rem;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--foreground);
}

.group-companies-list li {
  background: var(--secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.group-companies-list li:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(19, 184, 205, 0.2);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card,
.hours-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.info-title,
.hours-title,
.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-subtitle,
.form-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(19, 184, 205, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.info-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-text {
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.hours-card {
    background: var(--primary);
    color: var(--primary-foreground);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.contact-form-container {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    margin-top: 1.5rem;
}

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

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

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

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

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0;
}

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

.footer-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-foreground), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contacts {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contacts li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 64rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--muted-foreground);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--secondary);
    color: var(--foreground);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.modal-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--muted);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-main:hover .gallery-btn {
    opacity: 1;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.gallery-btn-prev {
    left: 0.5rem;
}

.gallery-btn-next {
    right: 0.5rem;
}

.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: rgba(19, 184, 205, 0.5);
}

.thumbnail.active {
    border-color: var(--accent);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.modal-features-list li {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
}

.modal-features-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card);
    color: var(--card-foreground);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 200;
}

.toast.show {
    transform: translateX(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background: var(--card);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .logo-text {
        display: none;
    }

    .hero-carousel {
        height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .modal-content {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-right: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .commitment-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
