:root {
    --primary-color: #f6b801;
    --primary-light: #f6b801;
    --secondary-color: #333333;
    --text-color: #4a4a4a;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    max-height: 80px;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    padding-left: 25px;
}

/* Nested Dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-menu-nested {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.dropdown-submenu:hover .dropdown-menu-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu-nested li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
}

.dropdown-menu-nested li:last-child a {
    border-bottom: none;
}

.dropdown-menu-nested li a:hover {
    background: var(--bg-light);
    padding-left: 25px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
}

.partner-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.quote {
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.acrostic-text {
    font-weight: 600;
    line-height: 1.4;
    font-size: 1.1rem;
}

.acrostic-text span {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.3rem;
    display: inline-block;
    width: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/ascredno.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    /* Dropdowns on mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 1000px;
    }

    .dropdown-menu-nested {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-submenu.active .dropdown-menu-nested {
        max-height: 500px;
    }

    /* Logo */
    .logo img {
        height: 60px;
    }

    /* Hero */
    .hero {
        height: 60vh;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* Page Headers */
    section.page-header {
        padding: 2rem 0 !important;
    }

    section.page-header h1 {
        font-size: 1.8rem !important;
    }

    /* Sections */
    .section {
        padding: 2rem 0 !important;
    }

    /* Grid Layouts */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center !important;
    }

    .partners-grid {
        justify-content: center;
        padding: 0.5rem;
    }

    .partner-logo {
        height: 25px;
    }

    .acrostic-text {
        font-size: 0.95rem;
        text-align: left;
    }

    .acrostic-text span {
        font-size: 1rem;
    }

    .social-links {
        justify-content: center !important;
    }

    .quote {
        font-size: 0.85rem;
        padding: 1rem 0;
    }

    /* Tables */
    table {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* Financial Reports Cards */
    div[style*="max-width: 1200px"],
    div[style*="max-width: 1000px"],
    div[style*="max-width: 900px"] {
        max-width: 100% !important;
    }

    /* Document Download Cards */
    a[style*="display: flex"][style*="padding: 1.5rem"] {
        padding: 1rem !important;
        gap: 1rem !important;
    }

    a[style*="display: flex"][style*="padding: 1.5rem"] i.fa-file-pdf {
        font-size: 1.8rem !important;
    }

    a[style*="display: flex"][style*="padding: 1.5rem"] p {
        font-size: 0.9rem !important;
    }

    /* Contact Page */
    div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 3rem"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Map iframe */
    iframe {
        height: 250px !important;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    section.page-header h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    .logo img {
        height: 50px;
    }

    /* Reduce padding on cards */
    div[style*="padding: 2rem"],
    div[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }

    div[style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }

    /* Financial reports */
    div[style*="font-size: 1.8rem"] h3 {
        font-size: 1.3rem !important;
    }

    div[style*="font-size: 1.05rem"] p {
        font-size: 0.95rem !important;
    }

    /* Activity cards badges */
    div[style*="padding: 0.5rem 1rem"][style*="border-radius: 20px"] {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    /* Social links */
    .social-links {
        font-size: 1.2rem;
        justify-content: center !important;
    }

    /* Tables responsive */
    table {
        font-size: 0.75rem;
    }

    td,
    th {
        padding: 0.3rem !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }

    .nav-links {
        padding: 3rem 2rem 2rem;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .mobile-menu-toggle,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        max-width: 100%;
    }
}