/* RESET */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #0f172a;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 80px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

/* LOGO */
.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #0a48a6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}

.logo-title {
    font-weight: bold;
}

.logo-sub {
    font-size: 12px;
    color: gray;
}

/* MENU */
.menu a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    position: relative;
    transition: 0.3s;
}

.menu a:hover {
    color: #0a48a6;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #0a48a6;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* ACTION */
.actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart {
    cursor: pointer;
    transition: 0.3s;
}

.cart:hover {
    transform: scale(1.2);
}

.call-btn {
    background: #0a48a6;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.call-btn:hover {
    transform: scale(1.05);
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px;
}

.hero-text {
    max-width: 500px;
}

.hero h1 {
    font-size: 52px;
}

.hero span {
    color: #0a48a6;
}

.hero p {
    margin-top: 20px;
    color: #64748b;
}

.hero img {
    width: 420px;
    border-radius: 12px;
}

/* BUTTON */
.btn {
    margin-top: 20px;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    background: #0a48a6;
    color: white;
    cursor: pointer;
}

/* SECTION */
.section {
    padding: 60px 80px;
}

/* SERVICES */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 🔥 RESPONSIVE */
    gap: 20px;
}

/* CARD */
.card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card::before {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    background: #0a48a6;
    top: 0;
    left: 0;
}

.card p {
    font-weight: bold;
    color: #0a48a6;
}

/* ICON */
.icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* ADD BUTTON */
.add-btn {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    background: #0a48a6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.add-btn:hover {
    background: #083c8a;
}

/* TRUST */
.trust {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

/* CART */
.cart-box {
    background: white;
    padding: 25px;
    border-radius: 16px;
    width: 350px;
    max-height: 500px;
    overflow-y: auto;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#cart-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* REMOVE */
.remove-btn {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* FOOTER */
.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* CLOSE BUTTON */
.close-btn {
    background: linear-gradient(135deg, #0a48a6, #2563eb);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    transform: translateY(-2px);
}

/* TOAST */
#toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0a48a6;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    opacity: 0;
    transition: 0.3s;
}
.modal-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 350px;
    animation: fadeIn 0.3s ease;
}

.modal-box h2 {
    margin-bottom: 5px;
}

.subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

/* INPUT */
.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #0a48a6;
    box-shadow: 0 0 0 2px rgba(10,72,166,0.1);
}

/* BUTTONS */
.modal-actions {
    display: flex;
    gap: 10px;
}

.submit-btn {
    flex: 1;
    background: linear-gradient(135deg, #0a48a6, #2563eb);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.close-btn {
    flex: 1;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}