@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }

.abs { position: absolute; }
.rel { position: relative; }
.fixed { position: fixed; }
.txt-c { text-align: center; }
.txt-l { text-align: left; }
.txt-r { text-align: right; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    background-color: #fff;
    line-height: 1.65;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

.header-section {
    padding: 7% 0 4% 0;
}

h1 {
    font-size: 24px;
    padding-top: 32px;
    margin: 0;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

h2 {
    font-size: 20px;
    color: #111;
    margin: 28px 0 14px 0;
    font-weight: 600;
    letter-spacing: -0.2px;
}

h3 {
    font-size: 16px;
    color: #111;
    margin: 12px 0 8px 0;
    font-weight: 600;
}

p {
    color: #555;
    margin: 10px 0;
    font-size: 15px;
}

.hero-sub {
    font-size: 16px;
    color: #777;
    margin-top: 14px;
}

.container {
    max-width: 960px;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
}

header > svg {
    max-width: 100%;
    height: auto;
}

footer {
    padding: 28px 20px;
    display: block;
    width: 100%;
    background-color: #fafafa;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

footer p {
    color: #888;
    font-size: 14px;
    margin: 4px 0;
}

footer small {
    color: #aaa;
    font-size: 13px;
}

hr {
    background-color: #fa5325;
    margin: 36px auto;
    width: 36px;
    height: 3px;
    border: none;
    border-radius: 2px;
}

.cta-button {
    background: #111;
    color: #3ff9c0;
    border: none;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 20px 0;
    letter-spacing: 0.1px;
}

.cta-button:hover {
    background: #2a2a2a;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 28px 0;
}

.service-card {
    background: #fff;
    padding: 22px 24px;
    border-radius: 10px;
    text-align: left;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #e8e8e8;
    width: 260px;
    flex-shrink: 0;
    flex-grow: 0;
}

.service-card:hover {
    box-shadow: 0 3px 16px rgba(0,0,0,0.07);
    border-color: #d0d0d0;
}

.service-icon {
    width: 36px;
    height: 36px;
    color: #3ff9c0;
    margin-bottom: 14px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.about-section,
.services-section,
.contact-section {
    margin: 48px 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
    animation: fadeIn 0.2s ease;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 16px auto;
    padding: 24px 28px;
    border-radius: 12px;
    width: 90%;
    max-width: 620px;
    position: relative;
    animation: slideIn 0.25s ease;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 10px; }
.modal-content::-webkit-scrollbar-thumb { background: #3ff9c0; border-radius: 10px; }
.modal { scrollbar-width: thin; scrollbar-color: #3ff9c0 #f5f5f5; }

.close {
    color: #bbb;
    float: right;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 18px;
    line-height: 1;
}

.close:hover { color: #333; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group { margin-bottom: 12px; }

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3ff9c0;
}

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

.submit-btn {
    background: #111;
    color: #3ff9c0;
    border: none;
    padding: 13px 40px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 7px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.submit-btn:hover { background: #2a2a2a; }

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.success-message {
    color: #1a6e40;
    background-color: #e8f7ee;
    border: 1px solid #b8e0cc;
    padding: 11px 14px;
    border-radius: 7px;
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

.error-message {
    color: #a01e1e;
    background-color: #fceaea;
    border: 1px solid #f0c0c0;
    padding: 11px 14px;
    border-radius: 7px;
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

.product-card {
    background: #fff;
    border: 1.5px solid #F2CE40;
    padding: 26px;
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.2s ease;
    max-width: 380px;
    margin: 20px auto;
}

.product-card:hover { box-shadow: 0 5px 18px rgba(242, 206, 64, 0.18); }
.product-card h3 { color: #FC3B67; margin-top: 0; }
.product-card a { text-decoration: none; }

.prod-button {
    background: #F2CE40;
    color: #1a1a1a;
    border: none;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 14px 0;
}

.prod-button:hover { background: #e6c228; }

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

@keyframes slideIn {
    from { transform: translateY(-24px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes dotOpacity {
    0%   { opacity: 1; }
    50%  { opacity: 0.1; }
    100% { opacity: 1; }
}

.dot {
    animation-name: dotOpacity;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
}

@media (max-width: 768px) {
    .container { width: 95%; padding: 15px; }
    h1 { font-size: 20px; }
    .services-grid { gap: 12px; }
    .service-card { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .modal-content {
        margin: 8px auto;
        width: 96%;
        padding: 18px;
        max-height: calc(100vh - 16px);
    }
}
