/* ========================================
   TU Boiler Room - Modern Professional Design
   ======================================== */

:root {
    /* Vibrant Modern Color Palette */
    --primary-dark: #0a2463;       /* Deep blue (professional) */
    --primary: #247ba0;            /* Ocean blue */
    --primary-light: #2fb5d2;      /* Bright cyan */
    --secondary: #ff6b35;          /* Vibrant coral/orange */
    --secondary-light: #ff8f54;    /* Light coral */
    --accent: #ffd460;             /* Vibrant yellow */
    --accent-light: #ffe680;       /* Light yellow */
    --success: #00a878;            /* Emerald green */
    --danger: #d62246;             /* Deep red */
    --warning: #f77f00;            /* Dark orange */

    /* Text Colors */
    --text-dark: #0a2463;
    --text-light: #5a5a5a;
    --text-muted: #8e8e8e;

    /* Background Colors */
    --bg-light: #f0f7ff;
    --bg-white: #ffffff;
    --bg-dark: #1a2f4a;
    --bg-accent: #fff8f0;

    /* Border & Effects */
    --border-color: #d0e4ff;
    --shadow-sm: 0 1px 2px 0 rgba(10, 36, 99, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(10, 36, 99, 0.12);
    --shadow-lg: 0 10px 15px -3px rgba(10, 36, 99, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(10, 36, 99, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    color: var(--text-light);
    line-height: 1.8;
}


/* ========================================
   HEADER & NAVIGATION
   ======================================== */
/* Navigation styling handled by Bootstrap navbar classes */

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: var(--primary);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(47, 181, 210, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image {
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: linear-gradient(180deg, var(--bg-accent) 0%, var(--bg-white) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-content strong {
    color: var(--primary-dark);
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

.about-features li::before {
    content: '✓';
    flex-shrink: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.5rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   FEATURES / BENEFITS SECTION
   ======================================== */
.benefits-section {
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    background: linear-gradient(135deg, rgba(47, 181, 210, 0.05) 0%, rgba(255, 212, 96, 0.05) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--secondary);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.faq-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    border-radius: 12px 12px 0 0;
}

.faq-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    background: linear-gradient(135deg, rgba(36, 123, 160, 0.02) 0%, rgba(47, 181, 210, 0.02) 100%);
}

.faq-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

.faq-card strong {
    color: var(--primary-dark);
}

/* ========================================
   FORM SECTION
   ======================================== */
.form-section {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.08) 0%, rgba(255, 212, 96, 0.08) 100%);
}

.form-container {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(36, 123, 160, 0.04) 0%, rgba(47, 181, 210, 0.04) 100%);
    border-radius: 8px;
    border: 1px solid rgba(36, 123, 160, 0.15);
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.form-info {
    background: linear-gradient(135deg, rgba(36, 123, 160, 0.06) 0%, rgba(47, 181, 210, 0.04) 100%);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(36, 123, 160, 0.2);
    border-top: 3px solid var(--primary);
    font-size: 0.95rem;
    color: var(--primary-dark);
    line-height: 1.6;
}

.error-message {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    border-top: 3px solid var(--danger);
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.error-list {
    list-style-position: inside;
    margin-top: 0.5rem;
}

.success-message {
    background-color: #dcfce7;
    border: 1px solid #86efac;
    border-top: 3px solid var(--success);
    color: #166534;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    display: inline-block;
    width: auto;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 5rem;
}

.footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .faq-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}
