/* ------------------------------------
   IMPORTED FONTS
--------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ------------------------------------
   GLOBAL RESET & BASE STYLE
--------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Quattrocento Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a1a;
}

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

/* ------------------------------------
   NAVIGATION BAR
--------------------------------------- */
.navbar {
    background-color: #000;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b00;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b00;
}

/* ------------------------------------
   PAGE VISIBILITY
--------------------------------------- */
.page {
    display: none;
    min-height: calc(100vh - 80px);
}

.page.active {
    display: block;
}

/* ------------------------------------
   HERO SECTION
--------------------------------------- */
.hero {
    background: url(com.jpg) no-repeat;
    background-size: cover;
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}

.hero * {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 50px;
    color: #ff6b00;
    margin-bottom: 20px;
}

.hero p {
    font-size: 30px;
    color: #ddd;
    margin-bottom: 40px;
}

/* ------------------------------------
   SPECIALIZATION CARDS
--------------------------------------- */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.spec-card {
    background-color: #fff;
    border-radius: 8px;
    border-top: 4px solid #ff6b00;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.2);
}

.spec-icon {
    font-size: 48px;
    color: #ff6b00;
    margin-bottom: 15px;
}

.spec-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.spec-card p {
    font-size: 17px;
    color: #666;
}

/* ------------------------------------
   BUTTONS
--------------------------------------- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    margin-right: 60px;
    margin-bottom: 40px;
    background-color: #ff6b00;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #fff;
    color: #ff6b00;
    border: 2px solid #ff6b00;
}

.btn-secondary:hover {
    background-color: #ff6b00;
    color: #fff;
}

/* ------------------------------------
   WORK SECTION
--------------------------------------- */
#container-work {
    background: #000;
    position: relative;
    text-align: center;
}

.work-h2 {
    color: #fff;
    margin: 40px 0 20px;
    font-size: 40px;
}

.work-p {
    color: #ddd;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 20px;
}

/* ------------------------------------
   QUIZ CONTAINER
--------------------------------------- */
.quiz-container {
    background: #fff;
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background-color: #e0e0e0;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #ff6b00;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* Question Styles */
.question {
    margin-bottom: 30px;
}

.question h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    background: #f5f5f5;
    border: 2px solid #ddd;
    padding: 18px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    transition: 0.3s;
}

.option:hover {
    border-color: #ff6b00;
    background: #fff5f0;
}

.option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b00;
}

/* ------------------------------------
   RESULTS PAGE
--------------------------------------- */
.results-container {
    background: #fff;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.result-header {
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
}

.result-header h1 {
    font-size: 44px;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.result-section {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.result-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.result-section p {
    font-size: 20px;
    color: #555;
    line-height: 1.8;
}

/* Score Bars */
.score-bar {
    width: 100%;
    height: 25px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background-color: #ff6b00;
    transition: width 1s ease;
}

/* ------------------------------------
   CONTACT PAGE
--------------------------------------- */
.contact-container {
    background: #fff;
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    border-top: 4px solid #ff6b00;
    margin-bottom: 25px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.contact-link {
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 10px;
    transition: 0.3s ease;
}

.contact-icon {
    font-size: 32px;
    color: #ff6b00;
    margin-bottom: 10px;
}

/* ------------------------------------
   RESPONSIVE DESIGN
--------------------------------------- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .quiz-container,
    .results-container,
    .contact-container {
        padding: 20px;
        margin: 20px;
    }

    .nav-links {
        gap: 15px;
    }
}

/* Utility */
.hidden {
    display: none;
}
