/* Ümumi tənzimləmələr */
:root {
    --primary-color: #0056b3;
    --secondary-color: #fca311;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: #555;
}

/* Düymələr */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Naviqasiya */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Bölməsi */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.8)), url('https://i.postimg.cc/cHfrvF1q/62920252-eeed-3a6f-9f37-1345ae45692c-1200.webp') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sayğac (Countdown) Dizaynı */
.countdown-wrapper {
    margin-top: 50px;
    text-align: center;
}

.countdown-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 90px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.time-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary-color);
}

.time-box small {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Haqqımızda & Xüsusiyyətlər */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-weight: 600;
    color: var(--text-color);
}

/* Xidmətlər (Fənlər) Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Bildiriş (Badge) və Animasiyası */
.badge {
    display: inline-block;
    background-color: #e63946; 
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: translateY(-3px);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Sınaq İmtahanları Banner */
.callout {
    background-color: var(--secondary-color);
    color: var(--white);
}

.callout h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.callout p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Əlaqə Forması */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

/* Animasiya sinifləri */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; }
    .nav-links { display: none; }
    .section-title { font-size: 2rem; }
    .time-box { min-width: 70px; padding: 10px; }
    .time-box span { font-size: 1.8rem; }
}
/* WhatsApp Üzən Düymə (Floating Button) */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* WhatsApp rəngi */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-icon {
    fill: #ffffff;
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px); /* Üzərinə gələndə yuxarı qalxma effekti */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Mobil ekranlar üçün düyməni biraz kiçildirik */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}
/* Ödənişsiz Sınaq İmtahanı Promo Bloku */
.exam-promo {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.promo-box {
    background: var(--white);
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 2px solid #fca311; /* Posterdəki sarı rəngə uyğunlaşdırılıb */
}

.promo-header {
    background-color: #fca311;
    color: var(--white);
    text-align: center;
    padding: 40px 20px 30px;
    position: relative;
}

.badge-free {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e63946;
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
}

.promo-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.promo-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
}

.promo-content {
    padding: 40px;
}

.promo-note {
    background-color: #e3f2fd; /* Açıq mavi arxafon */
    color: #0d47a1;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.promo-subjects {
    text-align: center;
    margin-bottom: 30px;
}

.promo-subjects h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subject-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.sub-tag {
    background-color: var(--primary-color); /* Posterdəki mavi fənn düymələri */
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s;
}

.sub-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.promo-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    font-size: 1.8rem;
    background: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text span {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 3px;
}

.detail-text strong {
    font-size: 1.1rem;
    color: var(--text-color);
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
}

/* Mobil ekranlar üçün tənzimləmələr */
@media (max-width: 768px) {
    .promo-header h2 { font-size: 1.6rem; }
    .promo-content { padding: 20px; }
    .promo-footer { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
}