/* ==========================
   Football Election Website
   Author : ChatGPT
   ========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --green:#0b5d3b;
    --green2:#1d7a52;
    --green3:#2f9d63;

    --gold:#d4af37;

    --light:#f6f8f7;

    --white:#ffffff;

    --text:#333;

    --shadow:0 10px 30px rgba(0,0,0,.12);

    --radius:18px;

}

html{

    scroll-behavior:smooth;

}

body{

    direction:rtl;

    font-family:'Vazirmatn',Tahoma,sans-serif;

    background:#eef2ef;

    color:var(--text);

    line-height:2;

}

/*========================*/

.container{

    width:92%;

    max-width:1200px;

    margin:auto;

}

/*========================*/

header{

    position:relative;

    min-height:600px;

    background:

    linear-gradient(rgba(6,70,40,.82),

    rgba(6,70,40,.82)),

    url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    color:white;

    text-align:center;

}

/*========================*/

.overlay{

    padding:70px 20px;

}

/*========================*/

.logo{

    width:170px;
    height:auto;

    padding:18px 25px;

    border-radius:16px;
    transition:all .4s ease;

}

.logo:hover{

    transform:scale(1.08) rotate(-2deg);

    filter:
        drop-shadow(0 0 18px rgba(212,175,55,.8))
        drop-shadow(0 0 35px rgba(255,255,255,.4));

}
.logoBox{

    position:relative;

    display:inline-block;

    overflow:hidden;

}

.logoBox::before{

    content:"";

    position:absolute;

    top:-30%;

    left:-120%;

    width:50%;

    height:170%;

    background:rgba(255,255,255,.35);

    transform:rotate(25deg);

    transition:1s;

}

.logoBox:hover::before{

    left:170%;

}

/*========================*/

header h1{

    font-size:42px;

    font-weight:800;

    margin-bottom:10px;

}

header h2{

    font-size:24px;

    font-weight:400;

    margin-bottom:40px;

}

/*========================*/

.dateBox{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:45px;

}

.dateBox div{

    width:240px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    border:1px solid rgba(255,255,255,.2);

    border-radius:14px;

    padding:20px;

    font-size:17px;

}

/*========================*/

.btnHero{

    display:inline-block;

    background:var(--gold);

    color:#222;

    text-decoration:none;

    padding:18px 45px;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

    transition:.3s;

}

.btnHero:hover{

    transform:translateY(-3px);

    background:#e5bf47;

}

/*========================*/

.card{

    width:90%;

    max-width:1100px;

    margin:40px auto;

    background:white;

    border-radius:var(--radius);

    padding:35px;

    box-shadow:var(--shadow);

}

.card h3{

    color:var(--green);

    margin-bottom:20px;

    font-size:28px;

    border-right:6px solid var(--gold);

    padding-right:15px;

}

.card p{

    text-align:justify;

    margin-bottom:15px;

}

/*========================*/

.grid2{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:25px;

}

.item{

    background:#f7faf8;

    border-right:5px solid var(--green);

    border-radius:12px;

    padding:18px;

    transition:.3s;

}

.item:hover{

    transform:translateY(-4px);

    box-shadow:0 8px 18px rgba(0,0,0,.1);

}

/*========================*/

.docs{

    list-style:none;

}

.docs li{

    padding:15px;

    border-bottom:1px solid #e4e4e4;

    font-size:17px;

}

.docs li::before{

    content:"📄 ";

}

/*========================*/

.downloadSection{

    text-align:center;

}

.downloadGrid{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

    margin-top:35px;

}

.downloadBtn{

    background:var(--green);

    color:white;

    text-decoration:none;

    padding:18px 35px;

    border-radius:12px;

    font-size:18px;

    transition:.3s;

    min-width:260px;

}

.downloadBtn:hover{

    background:var(--gold);

    color:#222;

    transform:translateY(-4px);

}
/*==========================
      Contact Section
===========================*/

.contact{

    width:90%;
    max-width:1100px;
    margin:40px auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.contact div{

    background:white;

    border-radius:16px;

    padding:30px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.3s;

    border-top:5px solid var(--green);

}

.contact div:hover{

    transform:translateY(-6px);

}

.contact strong{

    display:block;

    color:var(--green);

    margin-bottom:8px;

    font-size:20px;

}

/*==========================
        Footer
===========================*/

footer{

    margin-top:60px;

    background:linear-gradient(135deg,#0b5d3b,#1d7a52);

    color:#fff;

    text-align:center;

    padding:50px 20px;

    border-top:5px solid #d4af37;

}

.footerLogo{

    width:120px;
    height:auto;

    margin-bottom:20px;

    filter:drop-shadow(0 5px 12px rgba(0,0,0,.25));

    transition:all .3s ease;

}

.footerLogo:hover{

    transform:scale(1.05);

}

footer p{

    margin:8px 0;

    font-size:16px;

}

/*==========================
       Tables
===========================*/

table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}

table th{

    background:var(--green);

    color:white;

    padding:15px;

}

table td{

    border:1px solid #ddd;

    padding:15px;

}

/*==========================
      Notice Box
===========================*/

.notice{

    background:#edf9f1;

    border-right:6px solid var(--green);

    padding:20px;

    border-radius:12px;

    margin:20px 0;

}

/*==========================
        Animation
===========================*/

.card{

    animation:fadeUp .8s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==========================
       Scrollbar
===========================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#e8e8e8;

}

::-webkit-scrollbar-thumb{

    background:var(--green);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--green2);

}

/*==========================
      Selection
===========================*/

::selection{

    background:var(--gold);

    color:#222;

}

/*==========================
      Links
===========================*/

a{

    transition:.3s;

}

/*==========================
      Responsive
===========================*/

@media(max-width:1000px){

.grid2{

grid-template-columns:1fr;

}

.contact{

grid-template-columns:1fr;

}

.dateBox{

flex-direction:column;

align-items:center;

}

.dateBox div{

width:100%;

max-width:400px;

}

header{

min-height:auto;

}

header h1{

font-size:34px;

}

header h2{

font-size:21px;

}

}

@media(max-width:700px){

.logo{

width:100px;

}

header h1{

font-size:28px;

}

header h2{

font-size:18px;

}

.card{

padding:22px;

}

.card h3{

font-size:22px;

}

.downloadBtn{

width:100%;

}

.btnHero{

width:100%;

}

}

@media(max-width:480px){

body{

font-size:15px;

}

.card{

width:95%;

}

.contact{

width:95%;

}

}

/*==========================
    Back To Top Button
===========================*/

#topBtn{

position:fixed;

left:25px;

bottom:25px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:var(--gold);

color:#222;

font-size:22px;

cursor:pointer;

display:none;

box-shadow:0 8px 20px rgba(0,0,0,.2);

transition:.3s;

z-index:999;

}

#topBtn:hover{

transform:translateY(-4px);

}

/*==========================
     Print
===========================*/

@media print{

header{

min-height:auto;

background:white;

color:black;

}

.btnHero,

.downloadBtn,

#topBtn{

display:none;

}

.card{

box-shadow:none;

border:1px solid #ddd;

}

footer{

background:white;

color:black;

}

}

/*==========================
      End
===========================*/