/* =====================================================
   DRIVEBEST ACADEMIA GLOBAL STYLES
   Clean Refactored Version
===================================================== */


/* =========================
   RESET
========================= */

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}


:root {

    --primary:#1a365d;
    --accent:#f6ad55;
    --success:#25D366;
    --facebook:#1877F2;

    --text:#2d3748;
    --muted:#6c757d;

    --background:#f7fafc;
    --white:#ffffff;

    --danger:#dc3545;

    --shadow:
    0 10px 25px rgba(0,0,0,.08);

    --radius:12px;

}



body {

    font-family:
    'Segoe UI',
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.6;

}



/* =========================
   GLOBAL ELEMENTS
========================= */


h1,
h2,
h3,
h4 {

    color:var(--primary);

    margin-bottom:1rem;

}



a {

    text-decoration:none;

}



.container {

    max-width:1200px;

    margin:auto;

    padding:0 20px;

}



/* =========================
   NAVIGATION
========================= */


header,
.navbar {

    background:var(--primary);

    padding:1rem 2rem;

    position:sticky;

    top:0;

    z-index:1000;

}


nav {

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

}



/* =========================
   LOGO STYLING
========================= */

.logo {

    font-size:1.6rem;

    font-weight:700;

    letter-spacing:.5px;

}


.logo-main {

    color:white;

}


.logo-academia {

    color:var(--accent);

    margin-left:5px;

}



.nav-links {

    display:flex;

    gap:1.5rem;

    list-style:none;
    font-size : 8px;

}



.nav-links a {

    color:white;

    font-weight:500;

    transition:.3s;

}


.nav-links a:hover,
.nav-links a.active {

    color:var(--accent);

}



.menu-toggle {

    display:none;

    color:white;

    font-size:25px;

    cursor:pointer;

}



/* =========================
   MAIN CONTENT
========================= */


main {

    max-width:1200px;

    margin:2rem auto;

    padding:0 20px;

}



/* =========================
   HERO SECTION
========================= */


.hero {

    min-height:500px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    background:

    linear-gradient(
    rgba(26,54,93,.8),
    rgba(26,54,93,.8)
    ),

    url("images/hero.jpg");


    background-size:cover;

    background-position:center;

}



.hero h1,
.hero h2 {

    color:rgb(240, 240, 240);

    font-size:2.8rem;

}



.hero p {

    font-size:1.2rem;

    margin-bottom:2rem;

}



/* =========================
   BUTTONS
========================= */


.btn {

    display:inline-block;

    width:auto;

    padding:.8rem 1.5rem;

    background:var(--accent);

    color:var(--primary);

    font-weight:bold;

    border-radius:8px;

    border:none;

    cursor:pointer;

    transition:.3s;

}



.btn:hover {

    background:#ed8936;

}



.btn-solid {

    background:var(--primary);

    color:white;

}



.btn-solid:hover {

    background:#0b5ed7;

}



.btn-outline {

    border:2px solid var(--primary);

    color:var(--primary);

    background:white;

}



.btn-outline:hover {

    background:var(--primary);

    color:white;

}




/* =========================
   GRIDS
========================= */


.grid,
.services-grid,
.features-grid,
.gallery-grid {


    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:2rem;

}



/* =========================
   CARDS
========================= */


.card,
.feature-card,
.service-card {


    background:rgb(255, 250, 250);

    padding:1.5rem;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.3s;

}



.card:hover,
.feature-card:hover,
.service-card:hover {


    transform:translateY(-8px);

}




/* =========================
   PACKAGE CARDS
========================= */


.service-card {

    display:flex;

    flex-direction:column;

    justify-content:space-between;

}



.service-card.featured-card {

    border:3px solid var(--accent);

}



.featured-badge {


    background:var(--accent);

    color:white;

    padding:5px 15px;

    border-radius:20px;

    display:inline-block;

    width:max-content;

    margin-bottom:15px;

}



.card-title {

    font-size:1.3rem;

}



.card-price {


    color:var(--primary);

    font-size:1.8rem;

    font-weight:bold;

    margin-bottom:20px;

}



/* FEATURES LIST */


.feature-list {

    list-style:none;

    margin-bottom:20px;

}



.feature-list li {

    padding:8px 0;

    border-bottom:1px dashed #ddd;

}



.feature-list li::before {


    content:"✓";

    color:#198754;

    font-weight:bold;

    margin-right:8px;

}




/* =========================
   FORMS
========================= */


form {


    background:white;

    max-width:600px;

    margin:auto;

    padding:2rem;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}



.form-group {

    margin-bottom:1.2rem;

}



.form-group label {

    display:block;

    font-weight:600;

    margin-bottom:5px;

}



input,
select,
textarea {


    width:100%;

    padding:.8rem;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:1rem;

}




/* =========================
   CONTACT
========================= */

.features-grid{

    display:grid;

    grid-template-columns:1fr;

    gap:2rem;

}


/* =========================
   SOCIAL BUTTONS
========================= */


.social-links {


    display:flex;

    gap:1rem;

    flex-wrap:wrap;

}



.social-btn {


    padding:.7rem 1.2rem;

    color:white;

    border-radius:6px;

    font-weight:bold;

}



.btn-whatsapp {

    background:var(--success);

}



.btn-facebook {

    background:var(--facebook);

}




/* =========================
   GALLERY
========================= */


.gallery-item img {


    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:10px;

}





/* =========================
   FOOTER
========================= */


footer {


    margin-top:4rem;

    background:var(--primary);

    color:white;

    text-align:center;

    padding:1.5rem;

}





/* =========================
   MOBILE
========================= */


@media(max-width:768px){


.nav-links {


    display:none;

    flex-direction:column;

}



.menu-toggle {

    display:block;

}



.hero h1,
.hero h2 {

    font-size:2rem;

}


.services-grid,
.grid,
.features-grid {


    grid-template-columns:1fr;

}

}
input,
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 20px;
    border: 2px solid #707070;
    border-radius: 8px;
    background: #f6ad55;
    font-size: 16px;
}

input:focus,
textarea:focus {
    border-color: #f6ad55;
    outline: none;
}
.feature-card {
    text-align:center;
}