/* ===================================
   1. IMPORT & VARIABLES
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary-purple: #A62EB8;
    --dark-purple: #4a148c;
    --accent-yellow: #ffc107;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* ===================================
   2. BASE STYLES
   =================================== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    overflow-x: hidden;
}

/* ===================================
   3. NAVBAR (Custom)
   =================================== */
.navbar {
    background-color: var(--primary-purple) !important;
    padding: 15px 0;
}

.navbar-brand span {
    color: white !important;
    font-weight: 700;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--accent-yellow) !important;
}

/* Tombol PPDB Spesifik */
.nav-link.btn-primary {
    background-color: #28a745 !important;
    border: none !important;
    color: white !important;
}

/* ===================================
   4. HERO SECTION (Perbaikan Visual)
   =================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(166, 46, 184, 0.9), rgba(74, 20, 140, 0.9)), 
                url('../include/logo-02.png'); /* Gunakan foto gedung sekolah jika ada */
    background-size: contain; /* Karena ini logo, kita set contain agar tidak pecah */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ===================================
   5. KURIKULUM CARDS
   =================================== */
.kurikulum-section {
    padding: 80px 0;
}

.kurikulum-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border-top: 5px solid var(--primary-purple);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.kurikulum-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(166, 46, 184, 0.2);
}

.kurikulum-card i {
    color: var(--primary-purple);
    margin-bottom: 20px;
}

/* ===================================
   Profil
   =================================== */

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    background-color: #4a148c; !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.tracking-widest {
    letter-spacing: 0.15em;
}

.bg-primary {
    /* Sesuaikan dengan warna ungu/biru di hero section Anda jika perlu */
    background-color: #A62EB8; !important; 
}

/* ===================================
   PPDB
   =================================== */

/* Card Styling */
.card-form { 
	border-radius: 25px; 
	border: none; 
	box-shadow: 0 15px 35px rgba(74, 20, 140, 0.1); 
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	overflow: hidden;
}

/* Header Form dengan Gradasi */
.form-header {
	background: linear-gradient(45deg, #4a148c, #A62EB8);
	padding: 30px;
	color: white;
	text-align: center;
}

/* Label & Input */
.form-label { 
	font-weight: 600; 
	color: #4a148c; 
	font-size: 0.9rem;
	margin-bottom: 8px;
}

.form-control, .form-select {
	border-radius: 12px;
	padding: 12px 15px;
	border: 1px solid #e1bee7;
	transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
border-color: #A62EB8;
box-shadow: 0 0 0 0.25rem rgba(166, 46, 184, 0.15);
background-color: #fff;
}

 /* Tombol Kirim Premium */
.btn-purple { 
	background: linear-gradient(45deg, #4a148c, #A62EB8) !important; 
	color: white !important; 
	border-radius: 15px !important;
	padding: 15px !important;
	border: none !important;
 	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
 	transition: 0.4s !important;
	box-shadow: 0 8px 20px rgba(74, 20, 140, 0.2) !important;
}

.btn-purple:hover { 
	transform: translateY(-3px) !important;
	box-shadow: 0 12px 25px rgba(74, 20, 140, 0.3) !important;
	filter: brightness(1.1);
}

/* Icon styling */
.input-group-text {
	background: none;
	border: 1px solid #e1bee7;
	border-radius: 12px;
	color: #A62EB8;
}

/* ===================================
   6. FOOTER
   =================================== */
.footer {
    background: #212529;
    color: white;
    padding: 60px 0 20px;
}

/* Custom Styles for YPI Ash-Shiddiqiyyah */

/* .hero-section {
    background: linear-gradient(135deg, #4b0082 0%, #00008b 100%);
    padding: 120px 0;
    position: relative;
} */

.welcome-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #d1a3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote-card-wrapper {
    background: linear-gradient(135deg, #6f42c1, #0d6efd);
}

.avatar-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f3e5f5;
    color: #6f42c1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.program-card:hover .icon-wrapper {
    background: #6f42c1;
    color: white;
}

.misi-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.visi-card {
    background: linear-gradient(135deg, #2c0e37, #1a0524);
}

.visi-bg-icon {
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 150px;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
}

.shadow-purple {
    box-shadow: 0 1rem 3rem rgba(75, 0, 130, 0.1) !important;
}

