@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');


/* Submit Searchbar Section */
#submit-searchbar-section {
    position: relative;
    background-color: rgba(0, 128, 128, 0.212);
}

.submit-searchbar-container {
    display: flex;
    flex-direction: row;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.submit-manuscript-container {
    position: relative;

    .btn-primary {
    background-color: teal;
    border-color: #008080;
    font-size: 1rem;
    font-weight: 900;
    margin-left: 100px;

        &:hover {
            background-color: coral;
    border-color: #ff7f50;
    font-size: 1rem;
    padding: 5px 5px;
    font-weight: bold;
}

        a {
    color: white;
    text-decoration: none;
        }
    }
}

/*
.submit-manuscript-container .dropdown-toggle {
    background-color: maroon;
    border-color: #800020;
    font-size: 1rem;
    padding: 5px 5px;
    font-weight: 500;
    cursor: default;
    margin-right: 50px;
    margin-left: 200px;
}

.submit-manuscript-container .dropdown-toggle:hover,
.submit-manuscript-container .dropdown-toggle:active,
.submit-manuscript-container .dropdown-toggle:focus {
    background-color: teal;
    box-shadow: none;
}

.submit-manuscript-container .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 200px;
}

.submit-manuscript-container .dropdown-menu a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.submit-manuscript-container .dropdown-menu a:hover {
    background-color: teal;
    color: white;
}

.submit-manuscript-container:hover .dropdown-menu {
    display: block;
}
*/

/* Search Bar Container */
.search-bar-container {
    display: flex;
    max-width: 1440px;
    position: relative;
    margin-right: 50px;
    margin-top: 5px;

    .search-bar {
    display: flex;
        border: 1px solid #ccc;
        border-radius: 4px;

        input {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    outline: none;

            &[type="text"] {
    min-width: 6cap;
    width: 100%;
            }
}

        button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;

            &:hover {
    background-color: green;
            }
        }
    }
}
/*end of Submit Manuscript and Search Bar Container*/

/* Online Submission Modal */
#onlineSubmissionModal {
    .modal-dialog {
    margin: 1rem auto;
    width: 90%;
    max-width: 350px;
    position: absolute;
    left: 35%;
    top: 175px;
    }
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    background-color: goldenrod;
    border-bottom: 1px solid #e9ecef;

.modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    }
}

.modal-body {
    padding: 8px 8px 5px;

    p {
    color: teal;
    font-family: 'Quattrocento', serif;
    line-height: 1.2;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

    .auth-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 0.9rem;
    padding: 2px 4px;

        button {
    flex: 1;
    margin: 0 10px;
    padding: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    color: white;
    font-size: 1.2em;
    font-weight: bolder;
    cursor: pointer;
            
            &:hover,
            &:active {
                opacity: 0.9;
                background-color: coral;
                transform: translateY(-2px);
            }
        }
        
        .btn-primary {
    background-color: #007bff;

            &:hover,
            &:active {
    background-color: #0056b3;
            }
}

        .btn-secondary {
    background-color: #6c757d;

            &:hover,
            &:active {
    background-color: #5a6268;
}
        }
    }
}

.btn-close {
     border-color: black;

    &:hover {
    background-color: red;
}

    &:focus {
    box-shadow: none;
    }
}

/*End of Online Submission Modal*/


/* Enhanced Footer Styles */
.sentam_footer_wrapper {
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
    color: #333;
    position: relative;
    width: 100%;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #008080;
}

.sentam_structure_footer {
    padding: 25px 0 0px;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    margin-bottom: 5px;
    
    .container {
    max-width: 1440px;
    margin: 0 auto;
        padding: 0 5px;
}
}

/* Footer Logo Section */
.footer-logo {
    padding: 15px 10px;
    text-align: center;

    .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
        margin-bottom: 10px;
}

    .logo {
    display: inline-block;
    margin-bottom: 10px;
        
        &:hover img {
            transform: scale(1.05);
        }
}

    img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

    .company-name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .company-name-research {
    font-size: 1.5rem;
    font-weight: 700;
    color: #008080;
    line-height: 1.2;
    font-family: 'Quattrocento', serif;
}

    .company-name-publishing {
    font-size: 1.5rem;
    color: coral;
    line-height: 1.2;
    font-weight: 700;
    font-family: 'Quattrocento', serif;
    }
}

.brand-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Footer Sections */
.footer-section {
    padding: 0 5px;
    margin-bottom: 5px;

    h4 {
    color: #008080;
    font-weight: 600;
        margin-bottom: 5px;
    position: relative;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;

        &::after {
    content: '';
    display: block;
            width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #008080, #20b2aa);
    margin-top: 5px;
    border-radius: 1px;
        }
}

    h5 {
    color: #008080;
    font-weight: 500;
        margin-bottom: 5px;
    font-size: 1rem;
    }
}

/* Footer Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;

        &::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #008080;
    font-weight: bold;
        }
}

    a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;

        &:hover {
    color: #008080;
    transform: translateX(5px);
    font-weight: 500;
        }
    }
}

/* Contact Information */
.contact-info {
    font-size: 0.9rem;
    line-height: 1.6;

    address {
    font-style: normal;
    margin-bottom: 15px;
}

    strong {
    color: #008080;
    font-weight: 600;
}

    .fas {
    color: #008080;
    margin-right: 8px;
    width: 16px;
    }
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;

    a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #008080, #20b2aa);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);

        &:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.4);
    background: linear-gradient(135deg, #20b2aa, #008080);
        }
    }
}

/* Footer Bottom */
.footer-bottom {
    background: linear-gradient(135deg, #008080, #20b2aa);
    color: white;
    padding: 10px 0;
    margin-top: 5px;

    .container {
        max-width: 1440px;
    }
}

.copyright-section {
    text-align: center;

.copyright-statement {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    }
}

.powered-by {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;

    a {
    color: #e0f7f7;
    text-decoration: none;
    font-weight: 500;

        &:hover {
    text-decoration: underline;
    color: white;
        }
    }
}

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

.legal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;

    a {
    color: #e0f7f7;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;

        &:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
        }
    }
}

/* ========================================
   RESPONSIVE DESIGN - 4 BREAKPOINT SECTIONS
   ======================================== */

/* ========================================
   SECTION 1: MOBILE (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {
    /* Footer Structure */
    .sentam_structure_footer {
        padding: 5px 0 0px;
    }

    .footer-content {
        .container {
            padding: 0 5px;
        }
    }

    /* Footer Logo */
    .footer-logo {
        margin-bottom: 5px;
        order: -1; /* Logo appears first on mobile */

        .logo-container {
        margin-bottom: 10px;
    }

        img {
        max-width: 140px;
    }

        .company-name-research {
        font-size: 1rem;
    }

        .company-name-publishing {
        font-size: 0.9rem;
        }
    }

    .brand-description {
        font-size: 0.85rem;
        margin-top: 10px;
    }

    /* Footer Sections */
    .footer-section {
        text-align: center;
        margin-bottom: 10px;
        padding: 0 5px;

        h4 {
        font-size: 1rem;
            margin-bottom: 10px;
    }

        h5 {
        font-size: 0.95rem;
        margin-bottom: 8px;
        }
    }

    /* Footer Navigation */
    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;

        li {
        padding-left: 0;
        margin-bottom: 8px;
        width: 100%;
        text-align: center;

            &::before {
        display: none;
            }
    }

        a {
        display: block;
        padding: 8px 15px;
        background: rgba(0, 128, 128, 0.05);
        border-radius: 6px;
        transition: all 0.3s ease;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;

            &:hover {
        background: rgba(0, 128, 128, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 128, 128, 0.15);
            }
        }
    }

    /* Contact Information */
    .contact-info {
        text-align: center;
        font-size: 0.85rem;

        address {
        margin-bottom: 12px;
        }
    }

    /* Social Icons */
    .social-icons {
        justify-content: center;
        margin-top: 20px;
        gap: 15px;

        a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        }
    }

    /* Footer Bottom */
    .footer-bottom {
        padding: 15px 0;

        .container {
        padding: 0 10px;
        text-align: center;
        }
    }

    .copyright-section {
        margin-bottom: 12px;
    }

    .footer-legal {
        margin-bottom: 10px;
    }

    .legal-nav {
        flex-direction: row;
        gap: 5px;
        align-items: left;
        
        a {
            padding: 5px 5px;
        border-radius: 4px;
        font-size: 0.8rem;
            min-width: 100px;
        text-align: center;
    }
}

    /* Submit Searchbar Section - Mobile */
    .submit-searchbar-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .submit-manuscript-container {
        .dropdown-toggle {
            margin-left: 0;
            margin-top: 5px;
        }

        .dropdown-menu {
            margin-left: 0;
        }
    }
    
    .search-bar-container {
        input[type="text"] {
            min-width: 250px;
            margin-left: 20px;
            margin-top: 5px;
        }
    }

    /* Modal Adjustments */
    #onlineSubmissionModal {
        .modal-dialog {
            left: 15%;
        }
    } 
}

/* ========================================
   SECTION 2: TABLET (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Footer Structure */
    .sentam_structure_footer {
        padding: 15px 0 0px;
    }

    .footer-content {
        .container {
            padding: 0 5px;
        }
    }

    /* Footer Logo */
    .footer-logo {
        padding: 5px 5px;
        
        img {
            max-width: 180px;
        }
        
        .company-name-research {
            font-size: 1.1rem;
        }
        
        .company-name-publishing {
        font-size: 1rem;
        }
    }

    /* Footer Sections */
    .footer-section {
        padding: 0 5px;
        margin-bottom: 10px;
        
        h4 {
            font-size: 1.05rem;
        }
    }

    /* Footer Navigation */
    .footer-nav {
        a {
            font-size: 0.85rem;
        }
    }

    /* Contact Information */
    .contact-info {
        font-size: 0.88rem;
    }

    /* Social Icons */
    .social-icons {
        a {
            width: 38px;
            height: 38px;
            font-size: 0.95rem;
        }
    }

    /* Footer Bottom */
    .footer-bottom {
        .container {
            padding: 0 10px;
        }
    }

    .legal-nav {
        a {
            font-size: 0.82rem;
            padding: 5px 5px;
        }
    }

    /* Submit Searchbar Section - Tablet */
    .submit-manuscript-container {
        .dropdown-toggle {
            margin-left: 50px;
        }
        
        .dropdown-menu {
            margin-left: 50px;
        }
    }

    .search-bar-container {
        input[type="text"] {
            min-width: 290px;
        }
    }
}

/* ========================================
   SECTION 3: DESKTOP (1024px - 1280px)
   ======================================== */
@media (min-width: 1024px) and (max-width: 1280px) {
    /* Footer Structure - Default desktop styles apply */
    .sentam_structure_footer {
        padding: 5px 0 0px;
    }

    .footer-content {
        .container {
            padding: 0 10px;
        }
    }

    /* Footer Logo */
    .footer-logo {
        img {
            max-width: 150px;
    }

        .company-name-research {
            font-size: 1.3rem;
    }

        .company-name-publishing {
            font-size: 1.3rem;
    }
    }

    /* Footer Sections */
    .footer-section {
        padding: 0 10px;
        margin-bottom: 10px;
        
        h4 {
            font-size: 1.1rem;
        }
    }

    /* Footer Navigation */
    .footer-nav {
        a {
            font-size: 0.9rem;
        }
    }

    /* Contact Information */
    .contact-info {
        font-size: 0.9rem;
    }

    /* Social Icons */
    .social-icons {
        a {
            width: 30px;
            height: 30px;
            font-size: 0.9rem;
        }
    }

    /* Footer Bottom */
    .footer-bottom {
        .container {
            padding: 0 10px;
        }
    }

    .legal-nav {
        a {
            font-size: 0.85rem;
            padding: 5px 5px;
        }
    }
}

/* ========================================
   SECTION 4: LARGE DESKTOP (1281px+)
   ======================================== */
@media (min-width: 1281px) {
    /* Footer Structure */
    .sentam_structure_footer {
        max-width: 1440px;
        margin: 0 auto;
        padding: 15px 0 0px;
    }

    .footer-content {
        .container {
        max-width: 1440px;
        margin: 0 auto;
            padding: 0 5px;
        }
    }

    /* Footer Logo */
    .footer-logo {
        padding: 5px 5px;
        
        img {
            max-width: 100px;
        }
        
        .company-name-research {
            font-size: 1.5rem;
        }
        
        .company-name-publishing {
            font-size: 1.5rem;
        }
    }

    .brand-description {
        font-size: 0.9rem;
    }

    /* Footer Sections */
    .footer-section {
        padding: 0 10px;
        margin-bottom: 30px;
        
        h4 {
            font-size: 1.2rem;
        }
        
        h5 {
            font-size: 1.1rem;
        }
    }

    /* Footer Navigation */
    .footer-nav {
        a {
            font-size: 0.95rem;
        }
    }

    /* Contact Information */
    .contact-info {
        font-size: 0.95rem;
    }

    /* Social Icons */
    .social-icons {
        gap: 15px;
        
        a {
            width: 35px;
            height: 35px;
            font-size: 1.1rem;
        }
    }

    /* Footer Bottom */
    .footer-bottom {
        padding: 25px 0;
        
        .container {
            padding: 0 20px;
        }
    }

    .copyright-statement {
        font-size: 0.95rem;
    }

    .powered-by {
        font-size: 0.85rem;
    }

    .legal-nav {
        gap: 20px;
        
        a {
            font-size: 0.9rem;
            padding: 8px 15px;
        }
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    footer {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border-top: 1px solid #ccc !important;
    }

    .social-icons {
        display: none !important;
    }

    .footer-nav a {
        color: black !important;
    }

    .footer-bottom {
        background: #f0f0f0 !important;
        color: black !important;
    }
}