﻿/* ========================================
   🧼 Reset & Base Styles (Cross-device)
======================================== */
:root {
    --color-red: #ec0000; /* Strong professional red */
    --color-black: #000; /* pure black */
    --color-white: #FFFFFF; /* Pure white */
    --color-soft-black: #222222; /* softer than pure black (#000) */
    --color-red-light: #E74C3C; /* Lighter red for hover states or accents */
    --color-gray-light: #F5F5F5; /* Light gray for backgrounds */
    --color-gray-dark: #7F8C8D; /* Neutral gray for text or borders */
    --border-color: #333333;
    /*  --font-serif: Georgia, 'Times New Roman',Helvetica, Times, serif;*/
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   🧍 Body Defaults
======================================== */

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-soft-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

/* ========================================
   📝 Text Elements
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: #111111;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

ul,
ol {
    list-style: none;
    padding-left: 1.5rem;
    font-size: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-black);
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--color-red);
}

/* ========================================
   🧱 Container (Responsive)
======================================== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* XXL: ≥1400px */
@media (min-width: 1400px) {
    .container {
        max-width: 82.5rem; /* 1320px */
    }

    h1 {
        font-size: 3rem;
    }
    /* 48px */
    h2 {
        font-size: 2.625rem;
    }
    /* 42px */
    h3 {
        font-size: 2.25rem;
    }
    /* 36px */
    h4 {
        font-size: 1.875rem;
    }
    /* 30px */
    h5 {
        font-size: 1.5rem;
    }
    /* 24px */
    h6 {
        font-size: 1.25rem;
    }
    /* 20px */
    p, ul, ol {
        font-size: 1.125rem;
    }
    /* 17px */
}

/* XL: 1200px – 1399.98px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 71.25rem; /* 1140px */
    }

    h1 {
        font-size: 2.75rem;
    }
    /* 44px */
    h2 {
        font-size: 2.375rem;
    }
    /* 38px */
    h3 {
        font-size: 2rem;
    }
    /* 32px */
    h4 {
        font-size: 1.625rem;
    }
    /* 26px */
    h5 {
        font-size: 1.375rem;
    }
    /* 22px */
    h6 {
        font-size: 1.125rem;
    }
    /* 18px */
    p, ul, ol {
        font-size: 1.0625rem;
    }
    /* 17px */
}

/* LG: 992px – 1199.98px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 60rem; /* 960px */
    }

    h1 {
        font-size: 2.5rem;
    }
    /* 40px */
    h2 {
        font-size: 2.125rem;
    }
    /* 34px */
    h3 {
        font-size: 1.75rem;
    }
    /* 28px */
    h4 {
        font-size: 1.5rem;
    }
    /* 24px */
    h5 {
        font-size: 1.25rem;
    }
    /* 20px */
    h6 {
        font-size: 1.125rem;
    }
    /* 18px */
    p, ul, ol {
        font-size: 1rem;
    }
    /* 16px */
}

/* MD: 768px – 991.98px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 45rem; /* 720px */
    }

    h1 {
        font-size: 2.25rem;
    }
    /* 36px */
    h2 {
        font-size: 1.875rem;
    }
    /* 30px */
    h3 {
        font-size: 1.625rem;
    }
    /* 26px */
    h4 {
        font-size: 1.375rem;
    }
    /* 22px */
    h5 {
        font-size: 1.125rem;
    }
    /* 18px */
    h6 {
        font-size: 1rem;
    }
    /* 16px */
    p, ul, ol {
        font-size: 1rem;
    }
    /* 16px */
}

/* SM: 576px – 767.98px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 33.75rem; /* 540px */
    }

    h1 {
        font-size: 2rem;
    }
    /* 32px */
    h2 {
        font-size: 1.75rem;
    }
    /* 28px */
    h3 {
        font-size: 1.5rem;
    }
    /* 24px */
    h4 {
        font-size: 1.25rem;
    }
    /* 20px */
    h5 {
        font-size: 1.125rem;
    }
    /* 18px */
    h6 {
        font-size: 1rem;
    }
    /* 16px */
    p, ul, ol {
        font-size: 0.9375rem;
    }
    /* 15px */
}

/* XS: <576px */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding: 0 0.75rem; /* 12px */
    }

    body {
        font-size: 0.9375rem; /* 15px */
    }

    h1 {
        font-size: 1.75rem;
    }
    /* 28px */
    h2 {
        font-size: 1.5rem;
    }
    /* 24px */
    h3 {
        font-size: 1.25rem;
    }
    /* 20px */
    h4 {
        font-size: 1.125rem;
    }
    /* 18px */
    h5 {
        font-size: 1rem;
    }
    /* 16px */
    h6 {
        font-size: 0.875rem;
    }
    /* 14px */
    p, ul, ol {
        font-size: 0.9375rem;
    }
    /* 15px */
}


/* ========================================
   🧩 Utility Classes (Optional)
======================================== */
.text-center {
    text-align: center;
}

section {
    padding:80px 0px 40px 0px;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}


/* ========================================
   Header styling
======================================== */

header {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    position: relative;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    z-index: 1;
}

    .logo img {
        height: 40px;
        margin-right: 12px;
    }

/* Desktop navigation */
.desktop-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: var(--color-red);
    }

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-red);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* Dropdown arrow styling - FIXED: Arrow after text */
.has-submenu > .nav-link::after {
    display: none;
}

/* Arrow position changed to after text */
.has-submenu > .nav-link::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
    vertical-align: middle;
    position: static;
    width: 22px;
    height: 22px;
    margin-left: 2px;
    margin-top: 0;
}

.has-submenu:hover > .nav-link::after {
    transform: rotate(180deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed2a28' stroke-width='2'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Submenu styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    padding: 0;
}

    .submenu-item:hover {
        background: var(--color-red);
        color: var(--color-white);
        transition: all 0.3s ease;
    }

.submenu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #475569;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

    .submenu-link:hover {
        background: var(--color-red);
        color: var(--color-white);
        padding-left: 22px;
    }

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
    width: 44px;
    height: 44px;
    position: relative;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2'%3E%3Cpath d='M3 12H21M3 6H21M3 18H21'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px;
}

/* Mobile close button */
.mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px;
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 0;
    transition: left 0.4s ease;
    z-index: 999;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

    .mobile-menu.active {
        left: 0;
    }

/* Mobile menu header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-nav-list {
    padding: 20px;
    overflow-y: auto;
    height: calc(100vh - 70px);
    list-style: none;
}

.mobile-nav-item {
    margin: 0;
    width: 100%;
    text-align: left;
}

.mobile-nav-link {
    padding: 12px 0;
    font-size: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px dashed var(--border-color);
}

.mobile-submenu {
    display: none;
    padding: 0;
    margin-top: 10px;
    background: rgba(239, 246, 255, 0.7);
    border-radius: 12px;
    width: 100%;
    margin: 10px 0 0;
    list-style: none;
}

    .mobile-submenu.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

.mobile-submenu-link {
    display: flex;
    align-items: center;
    padding: 10px 0px;
    margin: 0px 20px;
    text-decoration: none;
    color: var(--color-black);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border-color);
}

    .mobile-submenu-link:hover {
        color: var(--color-red);
    }

/* Arrow styling for mobile - already after text */
.mobile-nav-item.has-submenu > .mobile-nav-link::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.mobile-nav-item.has-submenu.active > .mobile-nav-link::after {
    transform: rotate(180deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed2a28' stroke-width='2'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Overlay when menu is active */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Search icon styles */
.search-icon {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
    background-size: 24px;
    transition: all 0.2s ease;
}

    .search-icon:hover {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    }

/* Search bar styles */
.search-bar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

    .search-bar.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

.search-input-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .search-input:focus {
        outline: none;
        border-color: #2563eb;
    }

.search-button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

    .search-button:hover {
        background: #1d4ed8;
    }

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .search-icon {
        display: block;
    }

    /* Mobile layout */
    .nav-container {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        gap: 10px;
        align-items: center;
    }

    .logo {
        grid-column: 2;
        justify-self: center;
        margin-right: 0;
    }

    .mobile-toggle {
        grid-column: 1;
        justify-self: start;
    }

    .search-icon {
        grid-column: 3;
        justify-self: end;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }

    .menu-overlay {
        display: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================
   🧩 Footer
======================================== */

footer {
	background: var(--color-black);
	color: var(--color-white);
	padding: 50px 20px 25px;
	margin-top: 60px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-column h3 {
	font-size: 1.3rem;
	margin-bottom: 20px;
	color: #fff;
	position: relative;
	padding-bottom: 10px;
}

.footer-column h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: var(--color-red);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #999999;
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	position: relative;
	padding: 0 0 8px 25px;
	border-bottom: 1px dashed var(--border-color);
}

.footer-links a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 42%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23999999' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='13 5 20 12 13 19'/%3E%3Cpolyline points='4 5 11 12 4 19'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 16px 16px;
	transition: background-image 0.3s ease;
}

.footer-links a:hover {
	color: var(--color-red);
}

.footer-links a:hover {
	transform: translateX(4px);
}

.footer-links a:hover::before {
	background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%23ed2a28' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='13 5 20 12 13 19'/%3E%3Cpolyline points='4 5 11 12 4 19'/%3E%3C/svg%3E");
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: #999999;
}


.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    position: relative;
}

/* Insert SVG arrow via CSS */
.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%23444444'%3E%3Cpath d='m600-200-57-56 184-184H80v-80h647L544-704l56-56 280 280-280 280Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Breadcrumb link */
.breadcrumb-link {
    text-decoration: none;
    font-size: 1rem;
    color: #444444;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

/* Hover effect */
.breadcrumb-link:hover {
    color: var(--color-red);
}

.breadcrumb-item:first-child .breadcrumb-link::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23444444' viewBox='0 0 576 512'><path d='M541 229.16l-61-50.55V56a8 8 0 0 0-8-8h-40a8 8 0 0 0-8 8v72.61L314.79 43a32 32 0 0 0-41.55 0L35 229.16a12 12 0 0 0-1.6 17l25.5 30.4a12 12 0 0 0 17 1.6l27.11-22.49V464a16 16 0 0 0 16 16h130.82a8 8 0 0 0 8-8V368a8 8 0 0 1 8-8h64.36a8 8 0 0 1 8 8v104a8 8 0 0 0 8 8H477a16 16 0 0 0 16-16V255.67l27.11 22.49a12 12 0 0 0 17-1.6l25.5-30.4a12 12 0 0 0-1.61-17z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


/* Active breadcrumb */
.breadcrumb-active {
    color: var(--color-red);
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        flex-wrap: wrap; /* keep items on one line, allow wrapping */
        flex-direction: row; /* keep horizontal layout */
        align-items: center;
    }

    .breadcrumb-item {
        margin: 3px 4px; /* optional: tighter spacing for mobile */
    }

    .breadcrumb-item + .breadcrumb-item::before {
        display: inline-block; /* show separators */
    }
}
