/* =========================================================
   UAE eVisa - DESIGN SYSTEM (GLOBAL FILE)
   Version: 1.0
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   ROOT VARIABLES (CHANGE COLORS HERE ONLY)
========================================================= */

:root{

    /* UAE COLORS */
    --uae-green: #00732f;
    --uae-red: #98201e;
    --uae-black: #000000;
    --uae-white: #ffffff;

    /* GOLD */
    --gold-primary: #C8A45D;
    --gold-light: #E7D3A7;
    --gold-dark: #A8843B;

    /* GRAYS */
    --gray-light: #F3F3F3;
    --gray-dark: #444444;

    /* BACKGROUND */
    --bg-primary: #ffffff;
    --bg-dark: #111111;

    /* TEXT */
    --text-dark: #111;
    --text-light: #fff;
    --text-muted: #777;

    /* SHADOW */
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);

    /* BORDER RADIUS */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* TRANSITION */
    --transition: all 0.3s ease;

    /* GRADIENTS */
    --gradient-green: linear-gradient(135deg, #00732F, #009944);
    --gradient-gold: linear-gradient(135deg, #C8A45D, #E7D3A7);
    --gradient-dark: linear-gradient(135deg, #111, #222);

    /* footer */

    --footer-bg: #2A1E15;
}

/* =========================================================
   GLOBAL RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--bg-primary);
    color:var(--text-dark);
}

a{
    text-decoration:none;
    transition:var(--transition);
}

img{
    max-width:100%;
}

/* =========================================================
   CONTAINER
========================================================= */

.container{
    max-width:1200px;
    margin:auto;
    padding:0 15px;
}

/* =========================================================
   BUTTON SYSTEM
========================================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 26px;
    border-radius:var(--radius-full);
    font-weight:600;
    font-size:14px;
    border:none;
    cursor:pointer;
    transition:var(--transition);
}

.btn-primary{
    background:var(--gradient-green);
    color:#fff;
}

.btn-primary:hover{
    background:var(--gradient-gold);
    color:#111;
    transform:translateY(-2px);
}

.form-btn{
  width: 100%;
}

.btn-outline{
    border:2px solid var(--uae-green);
    background:transparent;
    color:var(--uae-green);
}

.btn-outline:hover{
    background:var(--uae-green);
    color:#fff;
}

.btn-dark{
    background:var(--gradient-dark);
    color:#fff;
}

.btn-block{
    width:100%;
}

/* =========================================================
   FORM SYSTEM
========================================================= */

.form-group{
    margin-bottom:18px;
}

.form-label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    font-size:14px;
}

.form-control{
    width:100%;
    height:56px;
    border-radius:var(--radius-md);
    border:1px solid rgba(0,0,0,0.12);
    padding:0 16px;
    font-size:15px;
    transition:var(--transition);
    background:#fff;
}

.form-control:focus{
    border-color:var(--uae-green);
    outline:none;
    box-shadow:0 0 0 4px rgba(0,115,47,0.08);
}

textarea.form-control{
    min-height:120px;
    padding-top:14px;
    height:auto;
}

.form-section{
    padding: 40px 0;
    background: var(--gray-light);
}

/* MAIN CARD */
.form-card{
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 35px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

/* .form-card:hover{
    transform: translateY(-3px);
} */

/* TITLE */
.form-card h3{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* DESCRIPTION */
.form-card p{
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .form-card{
        padding: 15px;
    }
}

/* =========================================================
   ERROR SYSTEM
========================================================= */

.is-invalid{
    border-color:var(--uae-red)!important;
    background:#fff5f5!important;
}

.error-text{
    color:var(--uae-red);
    font-size:12px;
    margin-top:6px;
    display:block;
}

/* =========================================================
   CARD SYSTEM
========================================================= */

.card{
    background:#fff;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
    padding:25px;
    border:1px solid rgba(0,0,0,0.05);
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-md);
}

.card-header{
    font-size:18px;
    font-weight:600;
    margin-bottom:12px;
}

.card-body{
    color:var(--gray-dark);
    line-height:1.7;
}

/* =========================================================
   BADGES
========================================================= */

.badge{
    display:inline-flex;
    padding:6px 12px;
    border-radius:50px;
    font-size:12px;
    font-weight:600;
}

.badge-success{
    background:rgba(0,115,47,0.12);
    color:var(--uae-green);
}

.badge-danger{
    background:rgba(215,25,32,0.12);
    color:var(--uae-red);
}

.badge-warning{
    background:rgba(200,164,93,0.15);
    color:var(--gold-primary);
}

/* =========================================================
   UTILITIES
========================================================= */

.text-center{text-align:center;}
.mt-10{margin-top:10px;}
.mt-20{margin-top:20px;}
.mb-10{margin-bottom:10px;}
.mb-20{margin-bottom:20px;}

/* =========================================================
   NAVBAR SYSTEM (DESIGN SYSTEM BASED)
========================================================= */

.custom-navbar{
    background: var(--uae-red);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

/* SCROLL STATE */
.custom-navbar.scrolled{
    background: #601a19;
    padding: 10px 0;
}

/* =========================================================
   LOGO
========================================================= */
/* Navbar Brand */
.navbar-brand{
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Logo Container */
.logo-text{
    display: flex;
    align-items: center;
}

/* Logo Image */
.logo-text img{
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 991px){

    .logo-text img{
        height: 48px;
    }

}

/* Mobile */
@media (max-width: 576px){

    .logo-text img{
        height: 40px;
    }

}
/* =========================================================
   NAV LINKS
========================================================= */

.navbar-nav{
    gap: 10px;
}

.nav-link{
    color: var(--text-light) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px !important;
    position: relative;
    transition: var(--transition);
}

/* HOVER */
.nav-link:hover{
    color: var(--gold-primary) !important;
}

/* ACTIVE */
.nav-link.active{
    color: var(--gold-primary) !important;
    font-weight: 600;
}

/* UNDERLINE EFFECT */
.nav-link::after{
    content: '';
    position: absolute;
    left: 14px;
    bottom: 2px;
    width: 0%;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after{
    width: 55%;
}

/* =========================================================
   MOBILE TOGGLER
========================================================= */

.navbar-toggler{
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-toggler i{
    font-size: 26px;
    color: var(--text-light);
    transition: var(--transition);
}

.navbar-toggler:hover i{
    color: var(--gold-primary);
}

/* =========================================================
   FOOTER SYSTEM (GLOBAL DESIGN SYSTEM)
========================================================= */

.footer{
    background: var(--footer-bg);
    padding: 50px 0 25px;
    color: var(--text-light);
    position: relative;
}

/* TOP BORDER */
/* .footer::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background: linear-gradient(
        90deg,
        var(--uae-red),
        var(--uae-green),
        var(--gold-primary)
    );
} */

/* =========================================================
   LOGO
========================================================= */

.footer-logo{
    font-size: 30px;
    font-weight: 700;
    color: var(--text-light);
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo span{
    color: var(--gold-primary);
}

/* =========================================================
   TEXT
========================================================= */

.footer-text{
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 320px;
    font-size: 13px;
}

/* =========================================================
   TITLES
========================================================= */

.footer-title{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:50px;
    height:2px;
    background: var(--gold-primary);
}

/* =========================================================
   LIST
========================================================= */

.footer-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li{
    margin-bottom: 12px;
}

/* LINKS */
.footer-link{
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 13px;
}

.footer-link:hover{
    color: var(--gold-primary);
    padding-left: 6px;
}

/* =========================================================
   CONTACT
========================================================= */

.footer-contact{
    list-style: none;
    padding: 0;
}

.footer-contact li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.7);
     font-size: 13px;
}

.footer-contact i{
    color: var(--gold-primary);
    margin-top: 4px;
    font-size: 13px;
}

/* =========================================================
   SOCIAL BUTTONS
========================================================= */

.footer-social{
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-btn{
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.social-btn:hover{
    background: var(--gradient-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom{
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p{
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin-bottom: 8px;
}

.footer-disclaimer{
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

/* =========================================================
   LOADING STATE
========================================================= */

.footer-loading{
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:991px){
    .footer{
        padding: 70px 0 25px;
    }
}

@media(max-width:576px){
    .footer-logo{
        font-size: 26px;
    }
}

/* =======================================================
   TOP SECTION DESIGN
======================================================= */

.top-section{
    background: var(--gradient-dark);
    padding: 90px 0;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

/* soft glow background effect */
.top-section::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-green);
    opacity: 0.15;
    filter: blur(120px);
    top: -200px;
    left: -150px;
    border-radius: 50%;
}

.top-section::after{
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-gold);
    opacity: 0.12;
    filter: blur(120px);
    bottom: -180px;
    right: -120px;
    border-radius: 50%;
}

.top-section h1{
    font-size: 42px;
    font-weight: 700;
    margin-top: 18px;
    line-height: 1.3;
}

.top-section p{
    color: rgba(255,255,255,0.75);
    margin-top: 18px;
    font-size: 13px !important;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
} 

/* =======================================================
   SECTION BADGE SYSTEM
======================================================= */

.section-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    background: rgba(0,115,47,0.10);
    color: var(--uae-green);
    border: 1px solid rgba(0,115,47,0.20);
    transition: var(--transition);
}

/* ICON SUPPORT INSIDE BADGE */
.section-badge i{
    font-size: 12px;
}

/* HOVER EFFECT */
.section-badge:hover{
    background: var(--gradient-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* GOLD VARIANT */
.section-badge.gold{
    background: rgba(200,164,93,0.12);
    color: var(--gold-primary);
    border: 1px solid rgba(200,164,93,0.25);
}

.top-section .section-badge.gold:hover{
    background: var(--gradient-gold);
    color: #111;
}

/* DARK VARIANT */
.top-section .section-badge.dark{
    background: rgba(17,17,17,0.08);
    color: var(--text-dark);
    border: 1px solid rgba(17,17,17,0.15);
}

.top-section .section-badge.dark:hover{
    background: var(--gradient-dark);
    color: #fff;
}

/* responsive */
@media(max-width:768px){
    .top-section{
        padding: 70px 0;
    }

    .top-section h1{
        font-size: 28px;
    }
}

.offer-inline{
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #00732f, #00a651);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        text-align: center;
    width: 100%;
}