/* ==========================
   GLOBAL STYLES
========================== */

:root{
    --primary:#9518AA;
    --primary-dark:#7A138A;
    --white:#ffffff;
    --light:#f8f8f8;
    --text:#333333;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:#fff;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   HEADER
========================== */

header{
    position:sticky;
    top:0;
    background:white;
    z-index:999;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    height:70px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    position:relative;
    transition:.3s;
}

nav a:hover{
    color:var(--primary);
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:var(--primary);
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

/* ==========================
   HERO SECTION
========================== */

.hero{

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.55)
        ),
        url("hero.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:white;

    text-align:center;

    min-height:80vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:100px 20px;
}

.hero h1{

    font-size:3.5rem;

    margin-bottom:20px;

    text-shadow:0 2px 8px rgba(0,0,0,.4);

}

.hero p{

    max-width:700px;

    margin:0 auto 35px;

    font-size:1.25rem;

    text-shadow:0 2px 6px rgba(0,0,0,.4);

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}

/* ==========================
   BUTTONS
========================== */

.btn{

    display:inline-block;

    background:var(--primary);

    color:white;

    padding:15px 32px;

    border-radius:8px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.btn-outline{

    background:transparent;

    border:2px solid white;

}

.btn-outline:hover{

    background:white;

    color:var(--primary);

}

/* ==========================
   SECTIONS
========================== */

section{

    padding:90px 0;

}

h2{

    text-align:center;

    color:var(--primary);

    margin-bottom:50px;

    font-size:2.3rem;

}

/* ==========================
   SERVICES
========================== */

.service-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.card{

    background:white;

    border-radius:12px;

    padding:30px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    border-top:4px solid transparent;

}

.card:hover{

    transform:translateY(-8px);

    border-top:4px solid var(--primary);

}

.card h3{

    color:var(--primary);

    margin-bottom:15px;

}

.card p{

    color:#666;

}

/* ==========================
   CONTACT
========================== */

.contact-intro{

    text-align:center;

    margin-bottom:25px;

    color:#666;

}

form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:18px;

}

input,
textarea{

    padding:15px;

    border-radius:8px;

    border:1px solid #ddd;

    font-size:1rem;

    transition:.3s;

}

input:focus,
textarea:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(149,24,170,.15);

}

/* ==========================
   FOOTER
========================== */

footer{

    background:var(--primary);

    color:white;

    text-align:center;

    padding:35px;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .nav-container{

        flex-direction:column;

        gap:20px;

    }

    nav ul{

        gap:18px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero{

        min-height:70vh;

    }

    .hero h1{

        font-size:2.3rem;

    }

    .hero p{

        font-size:1.05rem;

    }

}
