/* ======================================================
   ROBOTLAB NEW ZEALAND
   STYLE.CSS
====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    color:#333;
    line-height:1.6;
}

/* ======================================================
   HEADER
====================================================== */

header{
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.logo{
    height:70px;
}

nav{
    display:flex;
    align-items:center;
}

nav a{
    color:#8e44ad;
    text-decoration:none;
    font-weight:bold;
    margin-left:25px;
    transition:.3s;
}

nav a:hover{
    color:#5e2b73;
}

/* ======================================================
   HERO
====================================================== */

.hero{

    height:600px;

    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),
    url("../images/competition-asian.jpeg");

    background-size:cover;
    background-position:center;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:20px;
}

.hero h1{

    color:white;

    font-size:68px;

    max-width:1000px;

    text-shadow:0 0 18px rgba(0,0,0,.45);

    margin-bottom:20px;
}

.hero-subtitle{

    color:white;

    font-size:24px;

    margin-bottom:35px;

}

/* ======================================================
   BUTTONS
====================================================== */

.btn{

    display:inline-block;

    background:#9b4dca;

    color:white;

    text-decoration:none;

    padding:16px 40px;

    border-radius:10px;

    font-size:18px;

    font-weight:bold;

    transition:.3s;

}

.btn:hover{

    background:#7d33a9;

    transform:translateY(-2px);

}

/* ======================================================
   SECTIONS
====================================================== */

.section{

    background:white;

    padding:80px 8%;

}

.section h2{

    text-align:center;

    font-size:48px;

    color:#b14dc2;

    margin-bottom:40px;

}

.section-text{

    max-width:1000px;

    margin:auto;

    text-align:center;

    font-size:22px;

    color:#555;

    line-height:1.8;

}

/* ======================================================
   CARDS
====================================================== */

.cards{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.card{

    background:white;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 6px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 12px 28px rgba(0,0,0,.15);

}

.card img{

    width:100%;

    height:250px;

    object-fit:cover;

}

.card h3{

    color:#8e44ad;

    padding:22px;

    font-size:24px;

}

.card p{

    padding:0 22px 25px;

    color:#666;

    line-height:1.7;

}

/* ======================================================
   STATS
====================================================== */

.stats-card{

    text-align:center;

}

.stats-card h3{

    font-size:60px;

    color:#9b4dca;

    margin:25px 0 10px;

}

.stats-card p{

    font-size:20px;

}
/* ======================================================
   GALLERY
====================================================== */

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.gallery img{

    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:18px;

    transition:.3s;

}

.gallery img:hover{

    transform:scale(1.04);

    box-shadow:0 8px 20px rgba(0,0,0,.2);

}

/* ======================================================
   PARTNER LOGOS
====================================================== */

.partner-logos{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:80px;

    flex-wrap:wrap;

    margin:40px auto;

}

.partner-logos img{

    max-width:220px;

    max-height:90px;

    width:auto;

    height:auto;

    object-fit:contain;

    transition:.3s;

}

.partner-logos img:hover{

    transform:scale(1.05);

}

.partner-text{

    text-align:center;

    color:#666;

    font-size:20px;

    margin-top:20px;

}

/* ======================================================
   CONTACT FORM
====================================================== */

form{

    max-width:850px;

    margin:0 auto;

}

input,
textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    font-family:Arial,sans-serif;

}

textarea{

    min-height:180px;

    resize:vertical;

}

input:focus,
textarea:focus{

    outline:none;

    border-color:#9b4dca;

    box-shadow:0 0 10px rgba(155,77,202,.2);

}

/* ======================================================
   CALL TO ACTION
====================================================== */

.cta-section{

    background:linear-gradient(
        135deg,
        #9b4dca,
        #ff7b54
    );

    color:white;

    text-align:center;

}

.cta-section h2{

    color:white;

}

.cta-section p{

    font-size:22px;

    margin-top:15px;

}

.cta-section .btn{

    background:white;

    color:#9b4dca;

    margin-top:25px;

}

.cta-section .btn:hover{

    background:#f5f5f5;

}

/* ======================================================
   FOOTER
====================================================== */

footer{

    background:#222;

    color:white;

    text-align:center;

    padding:45px 20px;

}

footer h3{

    font-size:28px;

    margin-bottom:15px;

}

footer p{

    color:#ccc;

    margin:8px 0;

}

/* ======================================================
   UTILITIES
====================================================== */

.container{

    max-width:1200px;

    margin:auto;

}

.center{

    text-align:center;

}

img{

    max-width:100%;

}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width:768px){

header{

    flex-direction:column;

    padding:20px;

}

.logo{

    height:55px;

    margin-bottom:15px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

}

nav a{

    margin:8px 12px;

}

.hero{

    height:450px;

}

.hero h1{

    font-size:38px;

}

.hero-subtitle{

    font-size:18px;

}

.section{

    padding:60px 20px;

}

.section h2{

    font-size:34px;

}

.cards{

    grid-template-columns:1fr;

}

.gallery{

    grid-template-columns:1fr;

}

.partner-logos{

    gap:40px;

}

.partner-logos img{

    max-width:160px;

}

.stats-card h3{

    font-size:48px;

}

.btn{

    padding:14px 28px;

    font-size:16px;

}

}
