/* Base styling for the font and common elements */
body {
    font-family: 'Work Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

h1 {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 0.5em;
    /* Space below the title */
}

p {
    text-align: justify;
    /* Makes paragraphs easier to read */
    padding: 0 20px;
    /* Adds space on the sides of the text */
    margin-bottom: 1em;
    /* Space below each paragraph */
}

iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 560px;
    height: 315px;
}

/* Navigation Bar styling */
.navbar {
    text-align: center;
    background-color: #333;
    padding: 10px 0;
}

.nav-link {
    margin: 0 20px;
    text-decoration: none;
    color: #f9f9f9;
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: #555;
    /* Slightly darker on hover and for the active link */
}

/* Main content styling */
.content {
    padding: 20px;
    /* Adds padding around the main content */
    max-width: 800px;
    /* Adjust this value to control the width of the text */
    margin: auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for the content */
}

.content p {
    text-align: center;
    /* Center-aligns the text inside <p> */
    max-width: 800px;
    /* Adjust this value to control the width of the text */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    /* Adds space on the sides of the text */
    margin-bottom: 1em;
    /* Space below each paragraph */
}

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

.logo-section {
    display: flex;
    /* Enables flexbox */
    align-items: center;
    /* Centers items vertically in the container */
    justify-content: center;
    /* Centers items horizontally in the container */
    gap: 10px;
    /* Adds space between the text and the logo */
}

.logo-section p {
    margin: 0;
    /* Removes default margin from <p> to align text properly */
    line-height: 1;
    /* Adjusts line height to ensure proper alignment with the logo */
}

.social-links {
    text-align: center;
    /* Center the links */
    padding: 20px;
    /* Add some padding around the link */
}

.social-icon {
    height: 40px;
    /* Height of the icon */
    width: auto;
    /* Maintain aspect ratio */
    transition: transform 0.3s;
    /* Smooth transition for hover effect */
}

.social-links a:hover .social-icon {
    transform: scale(1.1);
    /* Slightly enlarge the icon on hover */
}

.social-icon-link {
    font-size: 3rem;
    /* Adjust this value to make the icon bigger or smaller */
    color: #0077b5;
    /* LinkedIn brand color */
    transition: transform 0.3s;
    /* Smooth transition for hover effect */
}

.subject-text {
    font-size: 20px;
    /* Adjust this value to change the font size */
}

/* Index tags styling */
.index-tags {
    font-size: 8px;  /* Smaller font size for less prominence */
    color: #d8d0d0;  /* Silver color */
    text-align: center;  /* Center-align text */
    margin-top: 20px;  /* Add space above the index tags */
    margin-bottom: 20px;  /* Add space below the index tags */
    padding: 0 20px;  /* Padding on the sides */
    width: auto;  /* Automatically adjusts the width */
    max-width: 800px;  /* Matches .content div width */
    box-sizing: border-box; /* Includes padding and border in the element's total width */
    margin-left: auto;  /* Centers the tag */
    margin-right: auto;  /* Centers the tag */
    word-wrap: break-word;  /* Ensures words wrap and do not overflow */
}

.narrow-text {
    max-width: 300px;  /* Adjust the value as needed */
    font-size: 14px;   /* Smaller font size, adjust as needed */
    margin: auto;      /* Centers the text block if container is wider */
}

.captcha-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Optional: if you also want vertical centering */
    height: 200px; /* Adjust height as needed for vertical centering */
}

.g-recaptcha {
    margin: auto; /* Ensures it is centered within its container */
}
