:root {
    --primary-dark: #1d3461;
    --primary: #2952a3;
    --primary-light: #4070c0;
    --primary-lighter: #6090d8;
    --primary-lightest: #d0dff5;
    --accent: #f47920;
    --accent-light: #f79545;
    --accent-dark: #d96010;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success: #4caf50;
    --error: #f44336;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(135deg, #0f1e3d 0%, var(--primary-dark) 100%);
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(29, 52, 97, 0.25);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo .tagline {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
}

.site-logo {
    height: 58px;
    width: auto;
    display: block;
    background: white;
    padding: 5px 12px;
    border-radius: 6px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: #f47920;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #1d3461 0%, #2952a3 40%, #4070c0 100%);
    padding: 50px 20px;
    margin: 0;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 44px;
    color: white;
    margin-bottom: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), #f47920);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 121, 32, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 121, 32, 0.5);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-dark);
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-arrow::after {
    content: ' →';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.btn:hover .btn-arrow::after {
    margin-left: 12px;
}

/* ===== SECTIONS ===== */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 40px;
    color: var(--primary-dark);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}

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

/* ===== GRID LAYOUT ===== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.intro-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

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

/* ===== CONTACT FORM ===== */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-lighter);
    box-shadow: 0 0 0 3px rgba(29, 52, 97, 0.1);
}

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

.form-actions {
    margin-top: 25px;
}

.form-message {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid var(--success);
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--error);
}

.form-errors {
    list-style: none;
}

.form-errors li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.form-errors li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: bold;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(29, 52, 97, 0.15);
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== IMAGE CONTAINER ===== */
.image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.placeholder-image {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-lightest) 100%);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--bg-light);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--primary-lightest);
}

.faq-toggle {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 20px;
    background-color: white;
    color: var(--text-light);
    display: none;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(135deg, #0f1e3d 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 20px 30px;
    margin-top: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section h3 {
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.95;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.85;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-size: 13px;
    margin: 20px 0;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .main-nav ul {
        gap: 15px;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Contact page grid */
    [style*="grid-template-columns: 1.2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 15px 0;
    }

    .header-container {
        padding: 0 15px;
    }

    .main-nav ul {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
        padding: 5px 10px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo .tagline {
        font-size: 11px;
    }

    section {
        padding: 40px 15px;
    }

    .hero {
        padding: 35px 15px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .hero-actions {
        gap: 10px;
    }

    .section-title {
        font-size: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-answer {
        padding: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .main-footer,
    .hero-actions {
        display: none;
    }

    body {
        background-color: white;
    }

    section {
        page-break-inside: avoid;
    }
}
