:root {
    --primary: #1f3c88;
    --accent: #c62828;
    --light: #f4f6f9;
    --dark: #222;
    --soft: #6c757d;
}

/* GLOBAL */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #f8f9fb, #eef2f7);
    color: var(--dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}

h1{
    font-family: 'Playfair Display', serif;
}

h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* HEADER */
header {
    text-align: center;
    padding: 80px 20px 60px;
}

header h1 {
    font-size: 44px;
    margin-bottom: 10px;
}

header p {
    color: var(--soft);
    font-size: 18px;
}

/* CARD BASE STYLE */
.card-base {
    background: white;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* ABOUT */
.about {
    padding: 60px;
    margin-bottom: 80px;
}

.about h2 {
    margin-bottom: 20px;
}

.about p {
    line-height: 1.7;
    font-size: 18px;
}

/* PROMO */
.promo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.card {
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #f5f5f5;
}

.card-content {
    padding: 40px;
}

.highlight {
    padding: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.highlight p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.highlight .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(198, 40, 40, 0.25);
}

.highlight .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(198, 40, 40, 0.35);
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 520px; 
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}


/* SERVICES */
.services {
    padding: 60px;
    margin-bottom: 80px;
}

.services p {
    margin-bottom: 12px;
    font-size: 18px;
}

/* CONTACT */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

form {
    padding: 50px;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid #e1e5ea;
    font-size: 14px;
}

form button {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

form button:hover {
    transform: translateY(-2px);
}

.contact-info {
    padding: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--soft);
}

.contact-item a {
    text-decoration: none;
    color: var(--soft);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-item i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 14px;
    color: var(--soft);
}

/* WhatsApp Button */
.wa-button{
    border:none;
    border-radius:999px;
    background:#1f8f4e;
    color:white;
    padding:12px 22px;
    cursor:pointer;
    transition:all 0.25s ease;
}

.wa-button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

/* icon horizontal alignment */
.wa-inner{
    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
}

.wa-button svg{
    width:18px;
    height:18px;
    display:block;
}

.wa-text{
    line-height:1;
}

.btn-success {
    position: absolute;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.wa-button.success {
    background: #1da851;
}

.wa-button.success .btn-content {
    opacity: 0;
}

.wa-button.success .btn-success {
    opacity: 1;
    transform: scale(1);
}


/* FADE ANIMATION */
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width:900px) {

    .promo,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .about,
    .services,
    form,
    .contact-info {
        padding: 35px;
    }
}