/* ===========================================
   KORU INTERNATIONAL - MAIN STYLESHEET
   =========================================== */

/* Import modular CSS files */
@import url('base.css');
@import url('layout.css');
@import url('components.css');

/* Override base.css list padding for article content */
.article-content ul {
  padding-left: 2rem !important;
  list-style: none !important;
}

.article-content li {
  padding-left: 1.5rem !important;
  position: relative;
  list-style: none !important;
}

.article-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-weight: bold;
}

/* Article image sizing */
.article-content img {
  max-width: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 1.5rem auto !important;
  display: block !important;
}


/* ===== GLOBAL STYLES ===== */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&display=swap');



@font-face {
    font-family: 'Rosehot';
    src: url('./fonts/Rosehot.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 3-Font System Implementation */
body {
    font-family: 'EB Garamond', 'Open Sans', Arial, sans-serif;
}

/* Main menu and hero title - Open Sans */
.navbar-nav > li > .nav-link {
    font-family: 'Open Sans', Arial, sans-serif;
    letter-spacing: 0.01em;
}

.section-home-hero h1 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.01em;
}

/* Hero lead and main content - EB Garamond */
.section-home-hero .lead {
    font-family: 'EB Garamond', 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
}

/* Buttons and actions - Rosehot */
.section-home-hero .btn {
    font-family: 'Rosehot', 'Open Sans', Arial, sans-serif;
    text-transform: uppercase;
}

.btn {
    font-family: 'Rosehot', 'Open Sans', Arial, sans-serif;
}

/* Custom hero section styles */
.section-home-hero {
    padding: 80px 0;
    background-color: var(--color-dark);
    color: var(--color-light);
}

.section-home-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    font-family: 'Open Sans', Arial, sans-serif;
    font-variation-settings: 'wght' 800;
    
}

.section-home-hero .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--color-light);
    font-family: 'EB Garamond', 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    opacity: 0.7;
}

/* Custom button styles for hero section */
.btn-outline-light {
    color: var(--color-light);
    border-color: var(--color-light);
    background-color: transparent;
}

.btn-outline-light:hover {
    color: var(--color-dark);
    background-color: var(--color-light);
    border-color: var(--color-light);
}

.section-home-hero .btn {
    font-family: 'Rosehot', 'Open Sans', Arial, sans-serif;
    text-transform: uppercase;
}

/* Site header styles */
.site-header {
    background-color: var(--color-dark);
}

.navbar {
    border-bottom: 1px solid #333;
}

.site-header .navbar-brand img {
    max-height: 100px;
    width: auto;
}

/* Ensure .navbar-brand and .navbar-nav do not break flex layout */
.navbar-brand, .navbar-nav {
    width: auto;
    display: flex;
    align-items: center;
}

/* Language switcher - FIXED */
.sitenav {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.sitenav-nav {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitenav-nav .nav-item {
    display: inline-block;
    margin-left: 1rem;
}

.sitenav-nav .nav-link {
    color: var(--color-light);
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
}

.sitenav-nav .nav-link:hover {
    color: var(--color-primary);
}

.sitenav-nav .nav-link.active {
    color: var(--color-primary);
}

/* Footer styles - FIXED */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-light);
    padding: 3rem 0 0;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Footer menu styles */
.site-footer .menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.site-footer .menu li {
    margin: 0;
    padding: 0;
}

.site-footer .menu a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-footer .menu a:hover {
    color: var(--color-primary);
}

.site-footer .sub-menu {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
}

.site-footer .sub-menu li {
    margin: 0.25rem 0;
}

.site-footer .sub-menu a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer .sub-menu a:hover {
    color: var(--color-primary);
}

.site-footer h5 {
    color: var(--color-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer a:hover {
    color: var(--color-primary);
}

.site-meta {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-meta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-meta .row {
    display: flex;
    align-items: center;
    margin: 0;
}

.site-meta .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.site-meta .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 15px;
}

.site-meta .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.site-meta p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-light);
}

.text-md-end {
    text-align: right;
}

.text-md-right {
    text-align: right;
}

/* Social nav styles */
.social.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social.nav li {
    margin-left: 1rem;
}

.social.nav a {
    color: var(--color-light);
    font-size: 1.2rem;
}

.social.nav a:hover {
    color: var(--color-primary);
}

/* Order utilities */
.order-1 { order: 1; }
.order-12 { order: 12; }

@media (min-width: 768px) {
    .order-md-1 { order: 1; }
    .order-md-12 { order: 12; }
}

/* Navigation styles */
.navbar-dark .navbar-nav .nav-link {
    color: var(--color-light);
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--color-primary);
}

/* Dropdown styles */
.dropdown-menu {
    background-color: var(--color-dark);
    border: 1px solid var(--color-gray-600);
}

.dropdown-item {
    color: var(--color-light);
}

.dropdown-item:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* Utility classes */
.text-lg {
    font-size: var(--font-size-lg);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--color-dark) 0%, #2c2c2c 100%);
}

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

@media (max-width: 767px) {
    .text-md-end {
        text-align: center;
    }
    
    .site-footer .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .site-meta .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.me-sm-3 { margin-right: 1rem !important; }

.gap-3 { gap: 1rem !important; }

/* Flex utilities */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-sm-row { flex-direction: row !important; }
.align-items-center { align-items: center !important; }

@media (min-width: 576px) {
    .flex-sm-row { flex-direction: row !important; }
    .mb-sm-0 { margin-bottom: 0 !important; }
    .me-sm-3 { margin-right: 1rem !important; }
}

/* Image styles */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: var(--border-radius);
}

/* Display utilities */
.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* List utilities */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Container adjustments */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Row adjustments */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row > * {
    padding: 0 15px;
}

/* Column adjustments */
.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 767px) {
    .col-md-3,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-home-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-home-hero {
        padding: 60px 0;
    }
}

/* Slider customizations */
.slider-extended h5 {
  color: var(--color-light);
}

/* ===== UTILITY CLASSES ===== */

/* Text utilities */
.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.text-2xl {
  font-size: var(--font-size-2xl);
}

.text-3xl {
  font-size: var(--font-size-3xl);
}

/* Background utilities */
.bg-gradient-dark {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2c2c2c 100%);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* Border utilities */
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--color-gray-300) !important; }
.border-bottom { border-bottom: 1px solid var(--color-gray-300) !important; }
.border-left { border-left: 1px solid var(--color-gray-300) !important; }
.border-right { border-right: 1px solid var(--color-gray-300) !important; }

/* Position utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-scroll { overflow: scroll !important; }

/* Width and height utilities */
.w-100 { width: 100% !important; }
.w-75 { width: 75% !important; }
.w-50 { width: 50% !important; }
.w-25 { width: 25% !important; }
.w-auto { width: auto !important; }

.h-100 { height: 100% !important; }
.h-75 { height: 75% !important; }
.h-50 { height: 50% !important; }
.h-25 { height: 25% !important; }
.h-auto { height: auto !important; }

/* Z-index utilities */
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }
.z-3 { z-index: 3 !important; }
.z-4 { z-index: 4 !important; }
.z-5 { z-index: 5 !important; }

/* ===== RESPONSIVE UTILITIES ===== */

/* Hide elements on different screen sizes */
@media (max-width: 575px) {
  .d-xs-none { display: none !important; }
  .d-xs-block { display: block !important; }
  .d-xs-inline { display: inline !important; }
  .d-xs-inline-block { display: inline-block !important; }
  .d-xs-flex { display: flex !important; }
  .d-xs-inline-flex { display: inline-flex !important; }
}

@media (max-width: 767px) {
  .d-sm-down-none { display: none !important; }
  .d-sm-down-block { display: block !important; }
  .d-sm-down-inline { display: inline !important; }
  .d-sm-down-inline-block { display: inline-block !important; }
  .d-sm-down-flex { display: flex !important; }
  .d-sm-down-inline-flex { display: inline-flex !important; }
}

@media (max-width: 991px) {
  .d-md-down-none { display: none !important; }
  .d-md-down-block { display: block !important; }
  .d-md-down-inline { display: inline !important; }
  .d-md-down-inline-block { display: inline-block !important; }
  .d-md-down-flex { display: flex !important; }
  .d-md-down-inline-flex { display: inline-flex !important; }
}

@media (max-width: 1239px) {
  .d-lg-down-none { display: none !important; }
  .d-lg-down-block { display: block !important; }
  .d-lg-down-inline { display: inline !important; }
  .d-lg-down-inline-block { display: inline-block !important; }
  .d-lg-down-flex { display: flex !important; }
  .d-lg-down-inline-flex { display: inline-flex !important; }
}

/* ===== PRINT STYLES ===== */
@media print {
  *,
  *::before,
  *::after {
    text-shadow: none !important;
    box-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  pre {
    white-space: pre-wrap !important;
  }

  blockquote,
  pre {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .badge {
    border: 1px solid #000;
  }

  .table {
    border-collapse: collapse !important;
  }

  .table td,
  .table th {
    background-color: #fff !important;
  }

  .table-bordered td,
  .table-bordered th {
    border: 1px solid #ddd !important;
  }
} 

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Prevent navbar-collapse from taking full width on desktop */
.navbar-collapse {
    flex-grow: 0;
    margin-left: 0;
}

.navbar-nav {
    margin-left: auto;
} 

.navbar-nav > li.menu-item-has-children:hover > .dropdown-menu,
.navbar-nav > li.menu-item-has-children:focus-within > .dropdown-menu {
    display: block;
} 

.navbar-nav > li.menu-item-has-children {
    position: relative;
}

.navbar-nav > li.menu-item-has-children > .dropdown-menu {
    left: 0;
    right: auto;
    min-width: 200px;
    top: 100%;
} 

.mega-menu .dropdown-menu.mega-menu-content {
    width: 700px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: none;
    background: #f7f7f7;
}
.mega-menu:hover .dropdown-menu.mega-menu-content,
.mega-menu:focus-within .dropdown-menu.mega-menu-content {
    display: block;
}
.mega-menu-inner {
    display: flex;
    min-height: 220px;
}
.mega-menu-left {
    flex: 1 1 45%;
    padding: 2rem 1.5rem 2rem 2rem;
    background: #f7f7f7;
    color: #222;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    min-width: 220px;
}
.mega-menu-right {
    flex: 1 1 55%;
    padding: 2rem 2rem 2rem 1.5rem;
    background: #f7f7f7;
    color: #222;
    display: flex;
    align-items: flex-start;
}
/* Submenu list: vertical layout and 0.8rem gap, no list-style */
.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-menu-item {
    margin-bottom: 0;
}
.mega-menu-item:last-child {
    margin-bottom: 0;
}
.mega-menu-panel {
    display: none;
}
.mega-menu-panel.active {
    display: block;
}
.mega-menu-panel {
    transition: opacity 0.2s;
} 

/* Submenu items: black for inactive, green for hover/focus, no underline, larger gap, no bold, Open Sans font */
.mega-menu-list .dropdown-item {
    color: #111 !important;
    background: none !important;
    font-weight: normal;
    font-family: 'Open Sans', Arial, sans-serif;
}
.mega-menu-list .dropdown-item:hover,
.mega-menu-list .dropdown-item:focus {
    color: var(--color-primary) !important;
    background: none !important;
    font-weight: normal;
    text-decoration: none;
}
.mega-menu-item {
    margin-bottom: 8rem;
}

.mega-menu-panel h4 {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
} 

/* Force mega-menu-left to align to top and reduce padding */
.mega-menu-left {
    align-items: flex-start !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Make submenu items tighter */
.mega-menu-item {
    margin-bottom: 0.3rem;
}

/* Optionally, reduce padding on right panel for compactness */
.mega-menu-right {
    padding-top: 1.5rem;
} 

/* Add top padding to the text content of the left panel */
.mega-menu-left .mega-menu-panel {
    padding-top: 1.5rem;
} 

/* Remove or reduce top padding from hero section */
.section-home-hero {
    padding-top: 0 !important;
} 

.navbar-nav > li > .nav-link {
    font-family: 'Open Sans', Arial, sans-serif;
} 

/* Footer styling - consistent with main menu */
.footer-content {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-left {
    flex: 0 0 150px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    font-family: 'EB Garamond', 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-right {
    flex: 1;
}

.footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.footer-menu-section h5 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

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

.footer-menu-list li {
    margin-bottom: 0.5rem;
}

.footer-menu-list a {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu-list a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-left {
        flex: none;
        text-align: center;
    }
    
    .footer-menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
} 

/* Navbar responsive behavior */
@media (min-width: 800px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  
  .navbar-expand-lg,
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
  
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    flex-wrap: nowrap;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
} 

/* Site meta styling */
.site-meta .row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.company-name {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--color-light);
    margin: 0;
    padding: 0;
    line-height: 1;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: baseline;
    line-height: 1;
}

.legal-links li {
    margin: 0;
    padding: 0;
}

.legal-links a {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
    display: inline-block;
    vertical-align: baseline;
}

.legal-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 767px) {
    .site-meta .row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .company-name {
        text-align: center;
    }
}

 