/* Reset some basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styling for the body */
body {
    font-family: 'Roboto', sans-serif;
    /* font-family: Arial, sans-serif; */
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

/* Header styling */
header {
    text-align: center;
    padding: 20px;
    background-color: #003366;
    color: #fff;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
}
/*  */

/* Sticky Header Styling */
.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: #003366 .2em solid;
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

.logo {
    height: 40px;
}

.header-link {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    margin-left: auto;
    padding: 8px 15px;
    background-color: #004c99;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header-link:hover {
    background-color: #efefef;
    color: #0073e6;
}

/* Main Page Header Section */
.page-header {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f9;
    color: #333;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #003366;
}

.page-header p {
    font-size: 1.1rem;
}


/* Section titles */
section h2 {
    font-size: 1.75rem;
    color: #003366;
    margin: 20px 0;
    text-align: center;
}

/* Template navigation list styling */
.template-navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    gap: 15px;
    margin-top: 10px;
    padding: 0;
}

.template-navigation ul li {
    flex: 1 1 200px;
    text-align: center;
}

.template-navigation ul li a {
    display: block;
    background-color: #0073e6;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.8s;
    white-space: nowrap;
}

.template-navigation ul li a:hover {
    background-color: #005bb5;
    border-radius: 2em;
    /* font-weight: bold; */
    /* font-size: 1.2em; */
}

/* Card styling for template previews */
.template-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.template-cards .card {
    background-color: #fff;
    width: 280px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.template-cards .card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.template-cards .card h3 {
    font-size: 1.3rem;
    color: #003366;
    margin: 15px 0 10px;
}

.template-cards .card p {
    padding: 0 15px 20px;
    color: #666;
    font-size: 0.95rem;
}

.template-cards .card a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.template-cards .card a:hover {
    text-decoration: underline;
}

/* Footer styling */
footer {
    background-color: #003366;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
}

footer a {
    color: #00aaff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.social-links a:hover {
    color: #00aaff;
}

h2.heading-template-cards {
    font-size: 1.75rem;
    color: #003366;
    margin: 20px 0;
    text-align: center;
}

.template-navigation {
    padding: 0 10vw;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
    }

    .template-cards {
        flex-direction: column;
        align-items: center;
    }

    .template-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    .template-navigation ul li {
        flex: 1 1 0;
    }
}

@media (max-width: 426px) {
   .sticky-header .header-container nav{
    display: none;
    }
}
