/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #374151;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
    position: relative;
    overflow: hidden;
}

.header-bg-animation {
    position: absolute;
    inset: 0;
    background: #2563eb;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.nav {
    position: relative;
    z-index: 10;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 2rem;
}

.menu-item {
    position: relative;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.5rem;
}

.menu-item:hover::before,
.menu-item.active::before {
    opacity: 1;
}

.menu-item:hover {
    color: #dbeafe;
    transform: translateY(-2px);
}

.menu-item.active {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.5);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.logo-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #dbeafe;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    max-height: 16rem;
    opacity: 1;
}

.mobile-menu-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.3);
}

/* Main Content */
.main-content {
    padding: 2rem 1rem;
}

/* Search Section */
.search-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #dbeafe;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-input-group {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
    transition: color 0.2s ease;
}

.search-input-group:focus-within .search-icon {
    color: #2563eb;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #dbeafe;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #dbeafe;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
    pointer-events: none;
}

/* Filter Grid */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.radio-group input[type="radio"] {
    accent-color: #3b82f6;
}

.radio-group label {
    color: #374151;
    font-weight: 500;
}

.filter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #dbeafe;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn svg {
    width: 1.125rem;
    height: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #dbeafe;
}

.sidebar-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header svg {
    width: 1.25rem;
    height: 1.25rem;
}

.sidebar-content {
    padding: 0.5rem;
}

.sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #1d4ed8;
    text-decoration: none;
    border-radius: 0.5rem;
    margin: 0.25rem 0.5rem;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: #dbeafe;
    color: #1e40af;
    border-left-color: #3b82f6;
    transform: translateX(4px);
}

/* Results */
.results-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #dbeafe;
}

.results-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-title svg {
    width: 1.5rem;
    height: 1.5rem;
}

.result-item {
    background: linear-gradient(135deg, #dbeafe 0%, rgba(219, 234, 254, 0.5) 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #bfdbfe;
    transition: all 0.2s ease;
}

.result-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.result-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.result-formation {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.result-description {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.result-section {
    margin-top: 1.5rem;
}

.section-title {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.research-list {
    list-style: none;
    margin-left: 0;
}

.research-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.research-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: #3b82f6;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.area-text {
    color: #374151;
    line-height: 1.6;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.disciplines-table {
    width: 100%;
    font-size: 0.875rem;
    border-collapse: collapse;
}

.disciplines-table thead tr {
    background: #2563eb;
    color: white;
}

.disciplines-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.disciplines-table th:first-child {
    border-top-left-radius: 0.5rem;
}

.disciplines-table th:last-child {
    border-top-right-radius: 0.5rem;
}

.disciplines-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dbeafe;
}

.disciplines-table tbody tr {
    transition: background-color 0.15s ease;
}

.disciplines-table tbody tr:hover {
    background: #dbeafe;
}

/* Info Panel */
.info-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #dbeafe;
}

.info-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-header svg {
    width: 1.25rem;
    height: 1.25rem;
}

.info-content {
    padding: 1.5rem;
}

.info-stat {
    background: #dbeafe;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #bfdbfe;
    margin-bottom: 1rem;
    text-align: center;
}

.info-stat h4 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    text-align: center ;
    margin: 0;
}

.stat-text {
    color: #2563eb;
    font-weight: 500;
    margin: 0;
}

.quick-filters {
    margin-top: 1.5rem;
}

.quick-filters h4 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    color: #1d4ed8;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #dbeafe;
    color: #1e40af;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-settings {
    width: 1.25rem;
    height: 1.25rem;
    color: #dbeafe;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-settings:hover {
    color: white;
}

.footer-right span {
    font-size: 0.875rem;
    color: #dbeafe;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .desktop-menu {
        display: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .table-wrapper {
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.5rem;
    }

    .main-content {
        padding: 1rem 0.5rem;
    }

    .search-section {
        padding: 1.5rem;
    }

    .results-card {
        padding: 1.5rem;
    }

    .msg-sem-resultados {
        display: block;
        text-align: center; /* centraliza horizontalmente */
        margin-top: 30px; /* dá espaço em cima */
        font-size: 18px; /* aumenta a letra */
        font-weight: bold;
        color: red; /* texto vermelho */
    }


    
    /*pagina sobre*/

    /* Removed body styles and global resets that might conflict with master page */
    /* Reset only for content elements */
    .main * {
        box-sizing: border-box;
    }

    .main {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background-color: #dbeafe;
        min-height: 100vh;
        padding: 2rem 0;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* Search Section */
    .search-section {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .search-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .search-field {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-icon {
        position: absolute;
        left: 1rem;
        color: #6b7280;
        z-index: 1;
    }

    .search-input {
        width: 100%;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        font-size: 1rem;
        transition: border-color 0.2s;
    }

        .search-input:focus {
            outline: none;
            border-color: #2563eb;
        }

    .filter-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .filter-group {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-radio {
        width: 1rem;
        height: 1rem;
    }

    .filter-label {
        font-weight: 500;
        color: #374151;
        min-width: 80px;
    }

    .filter-input {
        flex: 1;
        padding: 0.5rem 0.75rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        transition: border-color 0.2s;
    }

        .filter-input:focus {
            outline: none;
            border-color: #2563eb;
        }

    .button-group {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 0.5rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 1rem;
    }

    .btn-primary {
        background-color: #2563eb;
        color: white;
    }

        .btn-primary:hover {
            background-color: #1d4ed8;
        }

    .btn-secondary {
        background-color: #3b82f6;
        color: white;
    }

        .btn-secondary:hover {
            background-color: #2563eb;
        }

    .btn-icon {
        font-size: 1rem;
    }

    /* About Section */
    .about-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-card,
    .benefits-card,
    .conclusion-card {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .about-title {
        font-size: 2rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 1rem;
    }

    .about-description {
        color: #4b5563;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-list {
        list-style: none;
        margin: 1rem 0;
        padding-left: 1rem;
    }

        .about-list li {
            color: #4b5563;
            margin-bottom: 0.5rem;
            position: relative;
        }

            .about-list li::before {
                content: "•";
                color: #2563eb;
                font-weight: bold;
                position: absolute;
                left: -1rem;
            }

    .benefits-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 1.5rem;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .benefit-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
        border-radius: 0.5rem;
        background-color: #f8fafc;
    }

    .benefit-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .benefit-content h3 {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 0.25rem;
    }

    .benefit-description {
        color: #6b7280;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .conclusion-text {
        color: #4b5563;
        line-height: 1.6;
        font-size: 1.125rem;
        text-align: center;
        font-weight: 500;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .search-grid {
            grid-template-columns: 1fr;
        }

        .filter-section {
            grid-template-columns: 1fr;
        }

        .button-group {
            flex-direction: column;
            align-items: center;
        }

        .benefits-grid {
            grid-template-columns: 1fr;
        }

        .container {
            padding: 0 1rem;
        }



        /*Contato*/

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: #dbeafe;
            min-height: 100vh;
            line-height: 1.6;
        }

        /* Header Styles */
        .header {
            background-color: #2563eb;
            color: white;
            padding: 1rem 1.5rem;
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 80rem;
            margin: 0 auto;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

            .nav-links a {
                color: rgba(255, 255, 255, 0.8);
                text-decoration: none;
                transition: color 0.2s;
            }

                .nav-links a:hover,
                .nav-links a.active {
                    color: white;
                    font-weight: 500;
                }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.25rem;
            font-weight: bold;
        }

        /* Main Content */
        .main {
            max-width: 80rem;
            margin: 0 auto;
            padding: 3rem 1.5rem;
        }

        .card {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            padding: 2rem;
            margin-bottom: 2rem;
        }

        .title {
            font-size: 2.5rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 2rem;
            text-align: center;
        }

        /* Contact Info Grid */
        .contact-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .contact-card {
            background-color: #f8fafc;
            border-radius: 0.75rem;
            padding: 1.5rem;
            text-align: center;
            border: 1px solid #e2e8f0;
        }

        .contact-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .contact-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.75rem;
        }

        .contact-desc {
            color: #4b5563;
            line-height: 1.6;
        }

        /* Form Styles */
        .form-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-label {
            display: block;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.5rem;
        }

        .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 1rem;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

            .form-input:focus {
                outline: none;
                border-color: #2563eb;
                box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
            }

        textarea.form-input {
            resize: vertical;
            min-height: 120px;
        }

        .form-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .btn-primary {
            background-color: #2563eb;
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
        }

            .btn-primary:hover {
                background-color: #1d4ed8;
            }

            .btn-primary:disabled {
                background-color: #9ca3af;
                cursor: not-allowed;
            }

        .btn-secondary {
            background-color: #6b7280;
            color: white;
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s;
        }

            .btn-secondary:hover {
                background-color: #4b5563;
            }

        /* Info Section */
        .info-section {
            background-color: #eff6ff;
        }

        .info-title {
            font-size: 1.75rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .info-item {
            text-align: center;
            padding: 1rem;
        }

        .info-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .info-item h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 0.75rem;
        }

        .info-item p {
            color: #4b5563;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .title {
                font-size: 2rem;
            }

            .main {
                padding: 1.5rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .form-actions {
                flex-direction: column;
            }

            .contact-info-grid {
                grid-template-columns: 1fr;
            }





            /* Reset and base styles */
            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
                background-color: #f8f9fa;
                color: #2c3e50;
                line-height: 1.6;
                min-height: 100vh;
                display: flex;
                flex-direction: column;
            }

            /* Master Page styles for header, navigation and footer */
            /* Header styles */
            .site-header {
                background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
                color: white;
                padding: 0;
                box-shadow: 0 2px 10px rgba(30, 58, 138, 0.2);
            }

            .header-container {
                max-width: 1200px;
                margin: 0 auto;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 16px 20px;
            }

            .logo {
                display: flex;
                align-items: center;
                gap: 12px;
                font-size: 20px;
                font-weight: 700;
            }

                .logo i {
                    font-size: 24px;
                    color: #f97316;
                }

            .main-nav {
                display: flex;
                gap: 8px;
            }

            .nav-link {
                display: flex;
                align-items: center;
                gap: 8px;
                padding: 12px 20px;
                color: white;
                text-decoration: none;
                border-radius: 6px;
                transition: all 0.2s;
                font-weight: 500;
            }

                .nav-link:hover {
                    background: rgba(255, 255, 255, 0.1);
                    color: white;
                }

                .nav-link.active {
                    background: #f97316;
                    color: white;
                }

            /* Main content area */
            .main-content {
                flex: 1;
                padding: 0;
            }

            /* Footer styles */
            .site-footer {
                background: #1e3a8a;
                color: white;
                padding: 20px 0;
                margin-top: auto;
            }

            .footer-container {
                max-width: 1200px;
                margin: 0 auto;
                text-align: center;
                padding: 0 20px;
            }

                .footer-container p {
                    margin: 0;
                    opacity: 0.9;
                }

            .container {
                max-width: 1200px;
                margin: 0 auto;
                padding: 20px;
            }

            .upload-card {
                background: white;
                border: 3px solid #1e3a8a;
                border-radius: 8px;
                padding: 40px;
                margin: 20px 0;
            }

            /* Step sections */
            .step-section {
                margin-bottom: 40px;
                padding-bottom: 30px;
                border-bottom: 2px solid #e5e7eb;
            }

                .step-section:last-of-type {
                    border-bottom: none;
                }

            .step-title {
                color: #1e3a8a;
                font-size: 18px;
                font-weight: 700;
                margin-bottom: 12px;
                letter-spacing: 0.5px;
            }

            .step-description {
                color: #6b7280;
                margin-bottom: 24px;
                font-size: 14px;
            }

            /* Upload controls */
            .upload-controls {
                display: flex;
                gap: 16px;
                align-items: center;
                margin-bottom: 24px;
                flex-wrap: wrap;
            }

            .file-input-wrapper {
                position: relative;
            }

            .file-input {
                position: absolute;
                opacity: 0;
                width: 100%;
                height: 100%;
                cursor: pointer;
            }

            .file-input-label {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 12px 24px;
                background: white;
                border: 2px solid #1e3a8a;
                color: #1e3a8a;
                border-radius: 4px;
                cursor: pointer;
                font-weight: 500;
                transition: all 0.2s;
            }

                .file-input-label:hover {
                    background: #1e3a8a;
                    color: white;
                }

            .btn-process,
            .btn-send {
                padding: 12px 24px;
                background: #f97316;
                color: white;
                border: none;
                border-radius: 4px;
                font-weight: 600;
                cursor: pointer;
                transition: background 0.2s;
            }

                .btn-process:hover,
                .btn-send:hover {
                    background: #ea580c;
                }

            .loading-indicator {
                color: #6b7280;
                font-size: 14px;
                display: flex;
                align-items: center;
                gap: 8px;
            }

            /* Drag and drop area */
            .drag-drop-area {
                border: 2px dashed #1e3a8a;
                border-radius: 8px;
                padding: 40px;
                text-align: center;
                background: #f8fafc;
                transition: all 0.2s;
                cursor: pointer;
            }

                .drag-drop-area:hover,
                .drag-drop-area.drag-over {
                    background: #e0f2fe;
                    border-color: #0369a1;
                }

                .drag-drop-area i {
                    font-size: 48px;
                    color: #1e3a8a;
                    margin-bottom: 16px;
                }

                .drag-drop-area p {
                    color: #1e3a8a;
                    font-weight: 500;
                }

                .drag-drop-area small {
                    display: block;
                    color: #6b7280;
                    margin-top: 8px;
                }

            /* Form elements */
            .form-row {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 24px;
                margin-bottom: 16px;
            }

            .form-group {
                display: flex;
                flex-direction: column;
            }

                .form-group label {
                    color: #1e3a8a;
                    font-weight: 600;
                    font-size: 14px;
                    margin-bottom: 8px;
                    letter-spacing: 0.5px;
                }

            .form-input,
            .form-select,
            .email-input {
                padding: 12px 16px;
                border: 2px solid #1e3a8a;
                border-radius: 4px;
                font-size: 16px;
                background: white;
            }

                .form-input:focus,
                .form-select:focus,
                .email-input:focus {
                    outline: none;
                    border-color: #0369a1;
                    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
                }

            .info-link {
                display: flex;
                align-items: center;
                gap: 8px;
                color: #6b7280;
                font-size: 14px;
            }

            .help-link {
                color: #1e3a8a;
                text-decoration: none;
                font-weight: 500;
            }

                .help-link:hover {
                    text-decoration: underline;
                }

            /* Results section */
            .results-section {
                background: #f8fafc;
                border: 2px solid #1e3a8a;
                border-radius: 8px;
                padding: 24px;
                margin: 32px 0;
            }

            .results-title {
                color: #1e3a8a;
                font-size: 18px;
                font-weight: 700;
                margin-bottom: 20px;
                display: flex;
                align-items: center;
                gap: 12px;
            }

            .estimate-badge {
                background: #f97316;
                color: white;
                padding: 4px 12px;
                border-radius: 12px;
                font-size: 12px;
                font-weight: 600;
            }

            .results-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 16px;
            }

            .result-item {
                background: white;
                border: 2px solid #f97316;
                border-radius: 6px;
                padding: 16px;
                text-align: center;
            }

                .result-item label {
                    display: block;
                    color: #6b7280;
                    font-size: 12px;
                    font-weight: 500;
                    margin-bottom: 8px;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                }

            .result-value {
                color: #1f2937;
                font-size: 18px;
                font-weight: 600;
            }

            .total-item {
                grid-column: span 1;
            }

            .total-value {
                color: #f97316;
                font-size: 24px;
            }

            /* Email section */
            .email-section {
                margin-top: 32px;
            }

            .email-prompt {
                color: #6b7280;
                margin-bottom: 16px;
            }

            .email-title {
                color: #1e3a8a;
                font-size: 18px;
                font-weight: 700;
                margin-bottom: 16px;
                letter-spacing: 0.5px;
            }

            .email-controls {
                display: flex;
                gap: 16px;
                align-items: stretch;
            }

            .email-input {
                flex: 1;
                max-width: 400px;
            }

            /* Message label */
            .message-label {
                display: block;
                margin-top: 16px;
                padding: 12px;
                border-radius: 4px;
                font-weight: 500;
            }

                .message-label.success {
                    background: #dcfce7;
                    color: #166534;
                    border: 1px solid #bbf7d0;
                }

                .message-label.error {
                    background: #fef2f2;
                    color: #dc2626;
                    border: 1px solid #fecaca;
                }

            /* Responsive design */
            @media (max-width: 768px) {
                .header-container {
                    flex-direction: column;
                    gap: 16px;
                    padding: 16px 20px;
                }

                .main-nav {
                    width: 100%;
                    justify-content: center;
                    flex-wrap: wrap;
                }

                .nav-link {
                    padding: 10px 16px;
                    font-size: 14px;
                }

                .upload-card {
                    padding: 20px;
                }

                .form-row {
                    grid-template-columns: 1fr;
                }

                .upload-controls {
                    flex-direction: column;
                    align-items: stretch;
                }

                .email-controls {
                    flex-direction: column;
                }

                .results-grid {
                    grid-template-columns: 1fr;
                }
            }

            @media (max-width: 480px) {
                .container {
                    padding: 10px;
                }

                .drag-drop-area {
                    padding: 20px;
                }

                    .drag-drop-area i {
                        font-size: 32px;
                    }

                .logo {
                    font-size: 18px;
                }

                .nav-link {
                    padding: 8px 12px;
                    font-size: 13px;
                }
            }

        }


    }


   

  
}