/* ========================================================================= */
/* styles.css (First File) */
/* ========================================================================= */

/* General Reset & Body */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1a1a1a;
    min-height: 100vh;
}

a {
    color: orange;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* subtle shade */
}

a:hover {
    color: darkorange; /* lighter orange shade on hover */
    text-decoration: underline;
}

/* Loading Indicator */
#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

/* Header & Logo */
.headerbar {
    background: linear-gradient(to right, rgba(11, 217, 139, 1) 60%, rgba(11, 217, 139, .5) 100%), url(images/fon-colored-375-250.png);
    padding: 10px;
    color: white;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

header .site-info p {
    text-align: left;
    font-size: 20px;
    margin: 0;
}

header .olirvi-link {
    font-weight: bold;
    text-transform: uppercase;
}

header .olirvi-link:hover {
    text-decoration: underline;
}

#groups a:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo-img {
    width: 50px;
    height: auto;
}

.site-info {
    flex-grow: 1;
}

.site-title {
    font-size: 20px;
    margin: 0;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: underline;
}

.social-group {
    text-align: right;
}

.group-title {
    font-size: 14px;
    margin: 0 0 6px 0;
    color: #f0f0f0;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}


/* Breadcrumbs */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    border-bottom: 1px solid rgba(11, 217, 139, 0.1);
    backdrop-filter: blur(10px);
}

#nav-breadcrumbs {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 8px;
    align-items: center;
}

#nav-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

#nav-breadcrumbs a {
    font-size: 0.95em;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

#nav-breadcrumbs a:hover {
    background-color: rgba(11, 217, 139, 0.1);
}

#nav-breadcrumbs img {
    height: 24px;
    vertical-align: middle;
}

/* Store Icons */
.hide-responsive.block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.magazin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(11, 217, 139, 0.1), rgba(11, 217, 139, 0.05));
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(11, 217, 139, 0.2);
}

.magazin:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(11, 217, 139, 0.15);
    border-color: rgba(11, 217, 139, 0.5);
}

.magazin img.store-list {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Forms & Calculator */
#page-body {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto; /* centers it */
}


#page-body h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

#forma-oplat {
    color: #0c0c0c;
    background: linear-gradient(to right, rgba(11, 217, 139, .6) 25%, rgba(11, 217, 139, .3) 100%), url(images/fon-forma-1009.jpg);
    margin: 1% 1% 1% 0;
    padding: 0 1%;
    overflow: hidden;
}

#forma-oplat h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin: 0 0 20px 0;
    font-weight: 600;
}

#forma-oplat fieldset {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

#forma-oplat legend {
    font-weight: 600;
    margin-bottom: 10px;
}

#forma-oplat input[type="radio"],
#forma-oplat input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: rgba(11, 217, 139, 1);
}

#forma-oplat label {
    display: block;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}


#forma-oplat input[type="text"] {
    padding: 10px 12px;
    border: 2px solid rgba(11, 217, 139, 0.3);
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
}

#forma-oplat input[type="text"]:focus {
    outline: none;
    border-color: rgba(11, 217, 139, 1);
    box-shadow: 0 0 0 3px rgba(11, 217, 139, 0.1);
    background: #fff;
}

#forma-oplat input[type="submit"] {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    font-size: 1em;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(11, 217, 139, 1) 0%, rgba(11, 217, 139, 0.8) 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 217, 139, 0.3);
}

#forma-oplat input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 217, 139, 0.4);
}

#forma-oplat input[type="submit"]:active {
    transform: translateY(0);
}

.rightcalc {
    margin-top: 20px;
}

.rightcalc .cena {
    background: linear-gradient(135deg, rgba(11, 217, 139, 1) 0%, rgba(11, 217, 139, 0.8) 100%);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1.3em;
    box-shadow: 0 8px 24px rgba(11, 217, 139, 0.3);
    transition: all 0.3s ease;
}

.rightcalc .cena:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(11, 217, 139, 0.4);
}

.rightcalc .cena:active {
    transform: translateY(0);
}

#kursevro {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
    display: inline-block;
}

/* Formula Section */
.post1 {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    margin-bottom: 10px;
    border-left: 4px solid rgba(11, 217, 139, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post1 h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
}

.post1 .snoska {
    background: rgba(11, 217, 139, 0.08);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-style: italic;
    color: #34495e;
    border-left: 3px solid rgba(11, 217, 139, 1);
}

.post1 p {
    margin: 12px 0;
    color: #555;
    line-height: 1.7;
}

.post1 a {
    color: rgba(11, 217, 139, 1);
    font-weight: 500;
}

/* Tables */
.bodyindex_table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bodyindex_table tr:hover td {
    background-color: rgba(11, 217, 139, 0.08);
    transition: background-color 0.2s ease;
}

.bodyindex_table tr th {
    text-align: center;
    border: none;
    background: linear-gradient(135deg, rgba(11, 217, 139, 0.9) 0%, rgba(11, 217, 139, 0.7) 100%);
    color: #fff;
    padding: 12px;
    font-weight: 600;
}

.bodyindex_table tr td {
    text-align: center;
    border-bottom: 1px solid rgba(11, 217, 139, 0.1);
    padding: 12px;
    max-width: 400px;
}

/* Size Calculator */
.size_calc {
    border-collapse: collapse;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    overflow: hidden;
}

.size_calc .size_tabs td {
    padding: 12px 16px;
    font-weight: 600;
    border: 1px solid rgba(11, 217, 139, 0.2);
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size_calc .size_tabs td:hover {
    background-color: rgba(11, 217, 139, 0.1);
}

.size_calc .size_tabs .active {
    background: linear-gradient(135deg, rgba(11, 217, 139, 0.9) 0%, rgba(11, 217, 139, 0.7) 100%);
    color: #fff;
}

.size_content {
    padding: 15px;
    border: 1px solid rgba(11, 217, 139, 0.1);
}

/* Details/Accordion */
.details summary {
    position: relative;
    background: linear-gradient(135deg, rgba(11, 217, 139, 0.1) 0%, rgba(11, 217, 139, 0.05) 100%);
    padding: 16px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    color: #2c3e50;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid rgba(11, 217, 139, 0.2);
    transition: all 0.3s ease;
    user-select: none;
}

.details summary:hover {
    background: linear-gradient(135deg, rgba(11, 217, 139, 0.15) 0%, rgba(11, 217, 139, 0.1) 100%);
    border-color: rgba(11, 217, 139, 0.4);
}

.details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(11, 217, 139, 0.8) 0%, rgba(11, 217, 139, 0.6) 100%);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(11, 217, 139, 1) 0%, rgba(11, 217, 139, 0.8) 100%);
}

::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}

/* Utility Classes */
.center {
    text-align: center;
}

.blue {
    color: #0077cc;
}

.red {
    color: #e74c3c;
}

.green {
    color: rgba(11, 217, 139, 1);
}

.orange {
    color: #e67e22;
}

.orange-bg {
    background-color: rgba(230, 126, 34, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
}

.green-bg {
    background-color: rgba(11, 217, 139, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
}

/* Contact Forms */
#contacty-ya

@media (max-width: 768px) {
    .hide-responsive.block {
        margin: 10px 0;
        padding: 15px;
    }
}

/* ========================================================================= */
/* dorabotka.css (Second File - Overrides & Additions) */
/* ========================================================================= */

#forma-oplat {
    float: left;
    width: 100%;
    margin: 0 1% 1% 0;
    padding: 0 1%;
    overflow: hidden;
    box-sizing: border-box; /* ensures padding doesn't break layout */
}

#kursevro {
    float: right;
    width: 70px;
    height: 70px;
    font-size: 1.5em; /* more scalable than 150% */
    font-weight: 400;
    font-variant: small-caps;
    color: #fff;
    letter-spacing: 2px;
    margin: -35px -5px 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center; /* vertically and horizontally centers text */
    text-align: center;
    border-radius: 8px; /* optional, makes it look smoother */
    background: rgba(11, 217, 139, 0.8); /* subtle background to improve visibility */
}

#kurs {
    font-size: 26px;
    margin: -4px 0 0 -2px;
    line-height: 1; /* ensures vertical alignment inside #kursevro */
}


textarea, dd textarea, #message-box textarea {
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }


/* Header & Logo */
.headerbar {
    background: linear-gradient(to right, rgba(11, 217, 139, 1) 60%, rgba(11, 217, 139, .5) 100%), url(images/fon-colored-375-250.png);
    padding: 10px;
    color: white;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.headerbar .inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#site-description {
    display: flex;
    align-items: center;
    gap: 15px;
}

#logo img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

#logo img:hover {
    transform: scale(1.05);
}

#site-name {
    margin: 0;
}

#site-name a {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: text-decoration 0.3s ease;
}

#site-name a:hover {
    text-decoration: underline;
}

.social-group {
    text-align: right;
}

.group-title {
    font-size: 14px;
    margin: 0 0 6px 0;
    color: #f0f0f0;
}

.social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .headerbar .inner {
        flex-direction: column;
        align-items: flex-start;
    }

    #site-name a {
        font-size: 1.4em;
    }

    .social-group {
        text-align: left;
        margin-top: 15px;
    }

    .social-icons {
        justify-content: flex-start;
    }
}


/* Form Styling */
#forma-oplat {
    float: left;
    width: 100%;
    margin: 1% 1% 1% 0;
    padding: 0 1%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.rightcalc {
    margin: 0 auto;
}

fieldset {
    border: none;
    padding: 0;
}

/* Radio Buttons */
.radio-label {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}


.radio-label:hover {
    box-shadow: 0 0 0 1px rgba(11, 217, 139, 1);
    color: rgba(11, 217, 139, 1);
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0bd98b; /* Matches your header gradient */
}

.radio-label input[type="radio"]:checked + span,
.radio-label input[type="radio"]:focus + span {
    font-weight: bold;
}

/* Input Fields */
.input-label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
}

.input-label input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.input-label input[type="text"]:focus {
    border-color: #0bd98b;
    outline: none;
    box-shadow: 0 0 5px rgba(11, 217, 139, 0.5);
}

/* Result Display */
.cena {
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    background-color: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.cena:hover {
    background-color: #e0e0e0;
}

#result {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Euro Rate Display */
#kursevro {
    float: right;
    width: 70px;
    height: 70px;
    font-size: 150%;
    font-weight: 400;
    font-variant: small-caps;
    color: #fff;
    letter-spacing: 2px;
    margin: -35px -5px 15px 15px;
    background-color: #0bd98b;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

#kurs {
    font-size: 26px;
    margin: -4px 0 0 -2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rightcalc {
        max-width: 100%;
    }

    .radio-label {
        font-size: 14px;
        padding: 10px 6px;
    }

    .input-label input[type="text"] {
        max-width: 100%;
    }

    #kursevro {
        width: 60px;
        height: 60px;
        font-size: 120%;
    }

    #kurs {
        font-size: 22px;
    }
}


.store-section {
    text-align: center;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px 15px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 4px 12px rgba(11, 217, 139, 0.15);
}

.store-title {
    font-size: 22px;
    color: #0bd98b;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}




/* Styling for the main grid container */
.store-grid-container {
    /* Optional: Sets the background color defined in inline style */
    background: aliceblue; 
    /* Ensures the container wraps its floating or inline-block children */
    overflow: hidden; 
    padding: 10px;
    border-radius: 8px; /* Soft corners for the main section */
}

/* Style for the link wrapping each store item */
.store-grid-container .store-link {
    /* Makes the link flow like a block, but allows other links next to it (grid layout) */
    display: inline-block;
    /* Sets a base width for the item. Use a percentage for responsiveness. */
    width: 140px; /* Adjust this width based on your page layout */
    margin: 10px;
    text-decoration: none; /* Remove underline from the link */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    vertical-align: top; /* Align all items nicely at the top */
}

/* Styling for the store item box (div class="store-list") */
.store-list {
    display: flex; /* Use flexbox to center content vertically/horizontally */
    flex-direction: column; /* Stack image and text vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    
    height: 120px; /* Uniform height for all store blocks */
    padding: 5px;
    
    background-color: #fff; /* White background for the card */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 6px;
    text-align: center; /* Fallback for text centering */
}

/* Hover effect for the entire store link */
.store-grid-container .store-link:hover {
    transform: translateY(-4px); /* Slight lift effect on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Soft shadow on lift */
}


/* Styling for the image itself */
.store-list img {
    /* The class="store-list" on the image tag is redundant and can be removed */
    max-width: 90%; /* Prevent image from overflowing */
    max-height: 70px; /* Set a maximum height for uniformity */
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures the whole logo is visible without cropping */
    margin-bottom: 5px; /* Space between image and text */
    /* If logos have transparency issues, add a white background: 
    background-color: white; */
}

/* Styling for the store name text */
.store-list span {
    font-size: 0.85em;
    font-weight: 600; /* Semi-bold */
    color: #333; /* Darker text for readability */
    white-space: nowrap; /* Prevent store names from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add "..." if name is too long */
    padding: 0 5px;
}






/* Social icons in header */
.header-soc {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	margin-right: 20px;
}

.header-soc a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.header-soc a:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.header-soc img {
	width: 36px;
	height: 36px;
}

@media (max-width: 768px) {
	.header-soc {
		gap: 8px;
		margin-right: 10px;
	}
	
	.header-soc a {
		width: 36px;
		height: 36px;
	}
	
	.header-soc img {
		width: 24px;
		height: 24px;
	}
}



/* Footer Styling */
.page-footer {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%); /* Matches main-menu gradient */
    color: #ecf0f1; /* Light text color for contrast */
    padding: 20px 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    width: 100%; /* Ensure full width */
    clear: both; /* Clear any floating elements */
    position: relative; /* Ensure it respects document flow */
}

.page-footer .inner {
    max-width: 1200px; /* Matches header and main-menu */
    margin: 0 auto; /* Center the content */
    padding: 0 20px; /* Consistent padding */
    box-sizing: border-box; /* Prevent padding issues */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #fff; /* Matches header text color */
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    color: #f0f0f0; /* Matches social-group text */
    font-size: 0.95em;
    margin: 0 0 10px 0;
}

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

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

.footer-section ul li a {
    color: #ecf0f1; /* Matches main-menu links */
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: rgba(11, 217, 139, 1); /* Matches main-menu hover */
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid rgba(11, 217, 139, 0.2); /* Subtle divider */
    margin-top: 20px;
}

.footer-bottom p {
    color: #f0f0f0; /* Matches social-group text */
    font-size: 0.9em;
    margin: 0;
}

/* Ensure social icons in footer match header */
.footer-section .social-group {
    display: flex;
    gap: 10px;
    justify-content: flex-start; /* Align left in footer for consistency */
}

.footer-section .social-icon {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.footer-section .social-icon:hover {
    transform: scale(1.1); /* Matches header social icons */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-section .social-group {
        justify-content: center; /* Center social icons on mobile */
    }
}







/* Main Menu */
.main-menu {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition for hiding */
}

.main-menu.hidden {
    opacity: 0; /* Hide with fade effect */
    transform: translateY(-100%); /* Slide up out of view */
    pointer-events: none; /* Prevent interaction when hidden */
}

.main-menu nav {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2px;
    padding: 0;
}

.main-menu nav a {
    color: #ecf0f1;
    font-weight: 500;
    padding: 16px 18px;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.main-menu nav a:hover {
    background-color: rgba(11, 217, 139, 0.2);
    color: rgba(11, 217, 139, 1);
    border-bottom-color: rgba(11, 217, 139, 1);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .main-menu nav {
        flex-direction: row; /* Allow items to flow in rows */
        flex-wrap: wrap; /* Wrap items to create columns */
        gap: 0; /* Remove gap for tighter layout */
        padding: 10px 0; /* Reduced padding for compactness */
    }

    .main-menu nav a {
        flex: 0 0 calc(50% - 10px); /* Two columns, accounting for margins */
        margin: 5px; /* Small margin for spacing */
        padding: 10px 0; /* Reduced padding for compactness */
        font-size: 0.9em; /* Slightly smaller font */
        border-bottom: 1px solid rgba(11, 217, 139, 0.1); /* Subtle divider */
        text-align: center; /* Center text */
        box-sizing: border-box; /* Ensure padding/margins don't break layout */
    }

    .main-menu nav a:hover {
        background-color: rgba(11, 217, 139, 0.3); /* Stronger hover effect */
        border-bottom-color: rgba(11, 217, 139, 1); /* Retain hover border */
    }
}
