/* FOUC Prevention - Must be first */
html.js-loading {
    visibility: hidden !important;
}

html.js-loaded {
    visibility: visible !important;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 84px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 2.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('PNW Amenities.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
    position: relative;
    text-align: center;
    height: 100vh;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    max-width: 650px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.highlight {
    color: #64b5f6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64b5f6;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
}



/* Floating Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.1), rgba(107, 155, 115, 0.1));
    animation: floatAround 20s linear infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 80%;
    animation-delay: -14s;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}



.service-content {
    padding: 2rem;
    flex: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.service-features i {
    color: #3498db;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
}

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

.step-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #5dade2);
}



.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #5dade2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    position: relative;
}

.step-icon i {
    color: white;
    font-size: 2rem;
    display: block;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: left;
}

.step-features {
    list-style: none;
    text-align: left;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.step-features i {
    color: #3498db;
    font-size: 0.9rem;
    width: 16px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f4fd 0%, #d6ebfa 100%);
}

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

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #5dade2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.benefit-icon i {
    color: white;
    font-size: 1.2rem;
    display: block;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.benefit-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    /* Fallback for browsers that don't support background-clip */
    color: #2c3e50;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

.contact-item i {
    width: 20px;
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #5dade2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.contact-cta-container {
    background: #f8fbff;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #e8f4fd;
    text-align: center;
}

.contact-cta h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-buttons {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.email-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.email-button i {
    font-size: 1.2rem;
}

.contact-note {
    background: rgba(52, 152, 219, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.contact-note p {
    margin: 0;
    color: #2c3e50;
    font-size: 1rem;
}

.contact-note strong {
    color: #3498db;
}

/* Quote Form Styles */
.contact-form-container {
    background: #f8fbff;
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid #e8f4fd;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-form-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    border: 2px solid transparent;
}

.checkbox-item:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-item.selected {
    border: 2px solid #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
}

.checkmark {
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    color: #27ae60;
    font-size: 1.4rem;
    font-weight: bold;
    margin-left: 0.5rem;
    display: inline-block;
}

.checkbox-text {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.5;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn-primary {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 200px;
    position: relative;
}

.form-submit .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note {
    margin-top: 1rem;
}

.form-note p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.alternative-contact {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e8f4fd;
    margin-top: 1.5rem;
}

.alternative-contact p {
    color: #666;
    margin: 0;
}

.phone-link {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #2c3e50;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

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

/* Equipment Page Styles */
.equipment-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.equipment-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.equipment-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

.equipment-catalog {
    padding: 80px 0;
    background: #f8fbff;
}

.equipment-category {
    margin-bottom: 80px;
}

.equipment-category:last-child {
    margin-bottom: 0;
}

.equipment-item {
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.equipment-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.equipment-item.reverse .equipment-image {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
}

.equipment-item.reverse .equipment-content {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
}

.equipment-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.equipment-image img,
.equipment-image video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.equipment-image video {
    background: #000;
}

/* Show full Haha Vending image without cropping */
.equipment-image img[src="HahaVending.png"] {
    object-fit: contain;
    background: #f8fbff;
    height: 500px;
}

.equipment-item:hover .equipment-image img,
.equipment-item:hover .equipment-image video {
    transform: scale(1.05);
}

.equipment-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.equipment-subtitle {
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.equipment-features {
    margin-bottom: 2rem;
}

.feature-grid {
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-grid .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fbff;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.feature-grid .feature-item i {
    color: #3498db;
    font-size: 1rem;
    width: 16px;
}

.feature-grid .feature-item span {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.equipment-specs {
    background: #f8fbff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.equipment-specs h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.equipment-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-specs li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.equipment-specs li::before {
    content: "✓";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.equipment-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link.active {
    color: #3498db !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Safari Fallbacks */
@supports not (display: grid) {
    .equipment-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .feature-grid {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .feature-grid .feature-item {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 45%;
        flex: 1 1 45%;
        margin: 0.5rem;
    }
}

/* Responsive Design for Equipment Page */
@media (max-width: 1024px) {
    .equipment-item {
        -webkit-grid-template-columns: 1fr;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .equipment-item.reverse .equipment-image,
    .equipment-item.reverse .equipment-content {
        order: unset;
    }
    
    .feature-grid {
        -webkit-grid-template-columns: 1fr;
        grid-template-columns: 1fr;
    }
    
    .equipment-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .equipment-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .equipment-hero {
        padding: 120px 0 60px;
    }
    
    .equipment-hero-content h1 {
        font-size: 2rem;
    }
    
    .equipment-hero-content p {
        font-size: 1rem;
    }
    
    .equipment-catalog {
        padding: 60px 0;
    }
    
    .equipment-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .equipment-image img,
    .equipment-image video {
        height: 250px;
    }
    
    .equipment-image img[src="HahaVending.png"] {
        height: 300px;
    }
    
    .equipment-content h2 {
        font-size: 1.6rem;
    }
    
    .equipment-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* FAQ Page Styles */
.faq-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.faq-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

.faq-content {
    padding: 80px 0;
    background: #f8fbff;
}

.faq-category {
    margin-bottom: 3rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.faq-category-title i {
    color: #3498db;
    font-size: 1.5rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e8f4fd;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3498db;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.faq-item.active {
    border-color: #3498db;
    box-shadow: 0 3px 15px rgba(52, 152, 219, 0.15);
}

.faq-question {
    padding: 1.5rem;
    background: #f8fbff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e8f4fd;
}

.faq-item.active .faq-question {
    background: #3498db;
    color: white;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    line-height: 1.4;
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-question i {
    color: #3498db;
    font-size: 1rem;
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-answer ul,
.faq-answer ol {
    padding: 0 1.5rem 1.5rem 3rem;
    margin: 0;
    color: #555;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.faq-answer strong {
    color: #2c3e50;
}

.faq-answer a {
    color: #3498db;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.faq-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
}

.faq-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for FAQ Page */
@media (max-width: 768px) {
    .faq-hero {
        padding: 120px 0 60px;
    }
    
    .faq-hero-content h1 {
        font-size: 2rem;
    }
    
    .faq-hero-content p {
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 60px 0;
    }
    
    .faq-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .faq-category-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-question i {
        align-self: flex-end;
        margin-left: 0;
    }
    
    .faq-answer p,
    .faq-answer ul,
    .faq-answer ol {
        padding: 1rem;
    }
    
    .faq-answer ul,
    .faq-answer ol {
        padding-left: 2rem;
    }
    
    .faq-cta {
        padding: 60px 0;
    }
    
    .faq-cta-content h2 {
        font-size: 2rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-cta-buttons .btn-primary,
    .faq-cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Optimized Animation Classes - Prevent FOUC */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
body.loaded {
    animation: fadeIn 0.3s ease-in;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes floatAround {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        margin-top: 3rem;
        max-width: 90%;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu .nav-link {
        color: #2c3e50 !important;
        text-shadow: none !important;
    }
    
    .nav-logo h2 {
        font-size: 1.65rem !important;
    }
    
    .logo-image {
        height: 66px;
    }
    
    .nav-container {
        height: 120px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 1.5rem 1.5rem;
        max-width: 90%;
        margin-top: 4rem;
        background: rgba(255, 255, 255, 0.25);
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefits-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .service-card .service-content {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 150px;
        flex-shrink: 0;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    

    
    .contact-cta-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta h3 {
        font-size: 1.5rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    .email-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}
