﻿/* ==========================================
   Department of Cooperative Development
   Sabaragamuwa Province, Sri Lanka
   Main Stylesheet
   ========================================== */

/* CSS Variables for Easy Theme Customization */
:root {
    --primary-color: #F79D31;
    --primary-orange: #F2A446;
    --secondary-color: #FFF8F0;
    --dark-orange: #ED9326;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --light-orange: #FFE0B2;
    --lighter-orange: #FFF3E0;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 25px rgba(255, 152, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: var(--secondary-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background-color: var(--primary-color);
  padding: 10px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-info {
  display: flex;
  gap: 20px;
  color: var(--text-white);
  font-size: 14px;
}

.header-top-info a {
  color: var(--text-white);
}

.header-top-info a:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-white);
  font-size: 16px;
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.site-title {
  display: flex;
  flex-direction: column;
}

.site-title h1 {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 800;
}

.site-title span {
  font-size: 16px;
  color: var(--text-light);
}




/* Navigation */
.nav-menu {
    display: flex;
    gap: 12px;
}

    .nav-menu > li {
        position: relative;
    }

        .nav-menu > li:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 12px;
            width: 1px;
            background-color: var(--border-color, #e0e0e0);
        }

        .nav-menu > li > a {
            display: block;
            padding: 6px 2px; /* Slightly more padding for glass effect */
            color: var(--text-dark);
            font-weight: 500;
            font-size: 13px;
            white-space: nowrap;
            /* Glassmorphism effect */
            background: rgba(255, 120, 0, 0.39);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

            .nav-menu > li > a:hover,
            .nav-menu > li > a.active {
                background: rgb(255, 120, 0, 0.80); /* var(--primary-color) with transparency */
                backdrop-filter: blur(15px);
                border-color: rgb(248, 153, 49, 0.50);
                color: var(--text-white);
                transform: translateY(-1px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            }


/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--secondary-color);
  min-width: 220px;
  box-shadow: var(--shadow-hover);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-menu > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 120, 0, 0.8);
    color: var(--text-white);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #c76e00 100%);
  color: var(--text-white);
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-orange {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-orange:hover {
  background-color: #c76e00;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #c76e00 100%);
  color: var(--text-white);
  padding: 60px 0;
  text-align: center;
}

.page-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.9;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Section Styles */
.section {
  padding: 10px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
}

/* Cards */
.card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Quick Links Section */
/* Quick Links Section - Enhanced to match Web Systems */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}

/* Style for Quick Link Cards that have system-button-wrapper class */
.quick-link-card.system-button-wrapper {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 0;
    text-decoration: none;
    color: #333;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: block;
    height: 100%;
    min-height: 280px;
}

    .quick-link-card.system-button-wrapper:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 15px 35px rgba(var(--primary-rgb, 26, 115, 232), 0.1), 0 0 0 1px rgba(var(--primary-rgb, 26, 115, 232), 0.1);
    }

    .quick-link-card.system-button-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb, 26, 115, 232), 0.05), transparent);
        transition: left 0.8s ease;
    }

    .quick-link-card.system-button-wrapper:hover::before {
        left: 100%;
    }

    .quick-link-card.system-button-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color, #2c3e50), var(--secondary-color, #3498db));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .quick-link-card.system-button-wrapper:hover::after {
        transform: scaleX(1);
    }

.quick-link-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
}

/* Icon styling for quick links */
.quick-link-card .system-icon-container {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    position: relative;
}

.quick-link-card .system-icon-bg {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: absolute;
}

.quick-link-card.system-button-wrapper:hover .system-icon-bg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Specific colors for MIS and Pension in quick links */
.quick-link-card.system-button-wrapper .mis-icon-bg {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.quick-link-card.system-button-wrapper .pension-icon-bg {
    background: linear-gradient(135deg, #2196F3, #0D47A1);
}

.quick-link-card.system-button-wrapper:hover .mis-icon-bg {
    background: linear-gradient(135deg, #66BB6A, #388E3C);
}

.quick-link-card.system-button-wrapper:hover .pension-icon-bg {
    background: linear-gradient(135deg, #42A5F5, #1565C0);
}

.quick-link-card .system-icon {
    font-size: 2.5rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.quick-link-card.system-button-wrapper:hover .system-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.quick-link-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.quick-link-card.system-button-wrapper:hover h3 {
    background: linear-gradient(135deg, var(--primary-color, #2c3e50), var(--secondary-color, #3498db));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-link-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.4s ease;
    flex: 1;
}

.quick-link-card.system-button-wrapper:hover p {
    color: #475569;
}

/* Arrow for quick links - Adjusted position */
.quick-link-card .system-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 1.5rem;
    opacity: 0;
    color: var(--primary-color, #2c3e50);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.quick-link-card.system-button-wrapper:hover .system-arrow {
    opacity: 1;
    transform: translateX(5px);
    animation: arrowPulse 1.5s infinite;
}

/* Badge for quick links */
.quick-link-card .system-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.quick-link-card.system-button-wrapper:hover .system-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Loading indicator for quick links */
.quick-link-card .system-loading {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(var(--primary-rgb, 26, 115, 232), 0.2);
    border-top-color: var(--primary-color, #2c3e50);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.quick-link-card.system-button-wrapper.loading .system-loading {
    opacity: 1;
    animation: spin 1s linear infinite;
}

/* Regular quick links (without system-button-wrapper) */
.quick-link-card:not(.system-button-wrapper) {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 280px;
}

    .quick-link-card:not(.system-button-wrapper):hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    }

    .quick-link-card:not(.system-button-wrapper) .icon {
        font-size: 3rem;
        margin-bottom: 20px;
        transition: transform 0.4s ease;
    }

    .quick-link-card:not(.system-button-wrapper):hover .icon {
        transform: scale(1.1);
    }

    .quick-link-card:not(.system-button-wrapper) h3 {
        margin: 0 0 12px 0;
        color: #2c3e50;
        font-size: 1.4rem;
        font-weight: 600;
    }

    .quick-link-card:not(.system-button-wrapper) p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0;
        flex: 1;
    }

    /* Top gradient border for consistency */
    .quick-link-card:not(.system-button-wrapper)::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary-color, #2c3e50), var(--secondary-color, #3498db));
        border-radius: 20px 20px 0 0;
    }

    /* Icon backgrounds for regular quick links */
    .quick-link-card:not(.system-button-wrapper):nth-child(3) .icon {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .quick-link-card:not(.system-button-wrapper):nth-child(4) .icon {
        background: linear-gradient(135deg, #9370DB, #4B0082);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .quick-link-card:not(.system-button-wrapper):hover .icon {
        transform: scale(1.1) rotate(5deg);
    }

    /* Arrow for regular quick links on hover */
    .quick-link-card:not(.system-button-wrapper)::after {
        content: '→';
        position: absolute;
        right: 15px;
        bottom: 15px;
        font-size: 1.5rem;
        opacity: 0;
        color: var(--primary-color, #2c3e50);
        transition: all 0.4s ease;
    }

    .quick-link-card:not(.system-button-wrapper):hover::after {
        opacity: 1;
        transform: translateX(5px);
    }

/* Vision Mission Section */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.vision-box,
.mission-box {
    background-color: #FFEDD5; /* Light Orange */
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    /* Smooth transition for the hover effect */
    transition: all 0.3s ease;
}

    /* Hover Effect */
    .vision-box:hover,
    .mission-box:hover {
        background-color: #FED7AA; /* Slightly darker orange on hover */
        transform: translateY(-5px); /* Optional: lifts the box slightly */
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); /* Optional: deeper shadow */
    }

.vision-box {
  border-left: 5px solid var(--primary-color);
}

.mission-box {
  border-left: 5px solid #c76e00;
}

.vision-box h3,
.mission-box h3 {
  font-size: 26px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.vision-box p,
.mission-box p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Commissioner Message */
.commissioner-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.commissioner-image {
  text-align: center;
}

.commissioner-image img {
  width: 250px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.commissioner-image h4 {
  margin-top: 15px;
  color: var(--text-dark);
}

.commissioner-image span {
  color: var(--primary-color);
  font-size: 14px;
}

.commissioner-message {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.commissioner-message h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.commissioner-message p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  padding: 10px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 2fr);
  gap: 5px;
  text-align: center;
  color: var(--text-white);
}

.stat-item h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.9;
}

/* About Content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.5;
    text-align: justify;
    font-weight: 500;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Organization Chart */
.org-chart {
  max-width: 900px;
  margin: 0 auto;
}

.org-level {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.org-box {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
  min-width: 200px;
}

.org-box.secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

.org-box h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.org-box span {
  font-size: 13px;
  opacity: 0.9;
}

.org-branches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.org-connector {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.org-connector::before {
  content: "";
  width: 2px;
  height: 30px;
  background-color: var(--primary-color);
}

/* Division Cards */
.division-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.division-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.division-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 30px;
  text-align: center;
  font-size: 40px;
}

.division-content {
  padding: 25px;
}

.division-content h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.division-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}

.service-content h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-content p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.service-content ul {
  list-style: disc;
  padding-left: 20px;
}

.service-content ul li {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 5px;
}

/* RTI Section */
.rti-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.rti-step {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 15px;
}

.rti-step h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.rti-step p {
  font-size: 13px;
  color: var(--text-light);
}

/* Downloads Section */
.downloads-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 25px;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 15px;
}

.download-info h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.download-info span {
  font-size: 13px;
  color: var(--text-light);
}

.download-btn {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 5px;
  font-size: 14px;
}

.download-btn:hover {
  background-color: #c76e00;
}

/* Cooperative Offices Table */
.offices-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.offices-table th,
.offices-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.offices-table th {
  background-color: var(--primary-color);
  color: var(--text-white);
  font-weight: 600;
}

.offices-table tr:hover {
  background-color: var(--bg-light);
}

.offices-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Section */
.faq-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  font-size: 20px;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--text-light);
  font-size: 14px;
}

/* Contact Form */
.contact-form {
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Map */
.map-container {
  margin-top: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo-section {
  margin-bottom: 20px;
}

.footer-about .logo {
  width: 50px;
  height: 50px;
}

.footer-about .site-title h1 {
  color: var(--text-white);
  font-size: 16px;
}

.footer-about .site-title span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu > li > a {
    padding: 15px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }

  .nav-menu > li:hover .dropdown-menu {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .quick-links,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top-info {
    display: none;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .vision-mission,
  .about-content,
  .commissioner-section,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .quick-links,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .rti-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-branches {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .download-item {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .offices-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 45px;
    height: 45px;
  }

  .site-title h1 {
    font-size: 14px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .rti-steps {
    grid-template-columns: 1fr;
  }

  .org-branches {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

/* History Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 5px;
  width: 15px;
  height: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 5px;
}

.timeline-content h4 {
  color: var(--text-dark);
  margin-bottom: 5px;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 14px;
}

/* News/Events Section */
.news-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-body {
  padding: 20px;
}

.news-date {
  font-size: 12px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.news-body h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.news-body p {
  font-size: 14px;
  color: var(--text-light);
}

/* Alert/Notice Banner */
.notice-banner {
  background-color: #fff3cd;
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 0 5px 5px 0;
}

.notice-banner p {
  color: #856404;
  font-size: 14px;
}



