/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure Tailwind utilities take precedence */
[class*="bg-"],
[class*="text-"],
[class*="p-"],
[class*="m-"],
[class*="flex"],
[class*="grid"] {
    /* Tailwind classes will override */
}

:root {
    --primary-color: #1a5490;
    --secondary-color: #28a745;
    --accent-color: #f39c12;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 10px 40px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #1a5490 0%, #2c7bc2 50%, #28a745 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 84, 144, 0.9) 0%, rgba(40, 167, 69, 0.8) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background: #fafafa;
}

/* Container - only apply if not using Tailwind */
.container:not(.mx-auto) {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - only apply if not using Tailwind classes */
.header:not(.bg-white):not(.bg-gradient-to-br) {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.header.scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-image {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-image {
        max-width: 60px;
        max-height: 60px;
    }
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    color: #666;
}

.header-contact {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
}

.contact-item:hover {
    background: rgba(26, 84, 144, 0.05);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary);
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 18px 22px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Submenu Styles */
.nav-menu > li.has-submenu {
    position: relative;
}

.nav-menu .has-submenu > a {
    position: relative;
}

.nav-menu .has-submenu .fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 5px;
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 5px;
    padding: 8px 0;
    list-style: none;
    border-radius: 8px;
    transform: translateY(-10px);
}

/* Show submenu on hover */
.nav-menu > li.has-submenu:hover > .submenu,
.nav-menu .has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep submenu visible when hovering over it */
.nav-menu .submenu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ensure submenu stays visible when moving mouse from parent to submenu */
.nav-menu > li.has-submenu {
    position: relative;
}

.nav-menu .submenu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-menu .submenu li:last-child {
    border-bottom: none;
}

.nav-menu .submenu a {
    padding: 12px 25px;
    white-space: nowrap;
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu .submenu a::before {
    display: none;
}

.nav-menu .submenu a:hover {
    background: linear-gradient(90deg, rgba(26, 84, 144, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: var(--primary-color);
    padding-left: 30px;
    transform: translateX(5px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    margin-bottom: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.slide-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out;
}

.slide-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -0.5px;
}

.slide-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.slide-button {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Hero Section (Fallback) */
.hero {
    position: relative;
    height: 600px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fadeInUp 1s;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-link:hover {
    gap: 10px;
}

/* Quick Links */
.quick-links {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.quick-links::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 84, 144, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.quick-link-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 84, 144, 0.1);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.quick-link-card:hover::before {
    left: 0;
}

.quick-link-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.2);
    border-color: var(--primary-color);
}

.quick-link-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
}

.quick-link-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color);
}

.quick-link-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s;
}

.quick-link-card:hover h3 {
    color: var(--secondary-color);
}

/* Section Styles */
/* Section styles - only apply if not using Tailwind padding classes */
.section:not([class*="py-"]):not([class*="px-"]) {
    padding: 100px 0;
    position: relative;
}

.section-alt:not([class*="bg-"]) {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(26, 84, 144, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: rgba(26, 84, 144, 0.2);
}

/* Ministry Section */
.ministry-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ministry-text h3 {
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.ministry-text h3:first-child {
    margin-top: 0;
}

.ministry-text h3 i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.ministry-text p {
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #555;
}

.mission-vision {
    margin-bottom: 40px;
}

.mission-box,
.vision-box {
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(26, 84, 144, 0.1);
}

.values-section {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.values-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.values-list li {
    padding: 15px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 84, 144, 0.1);
}

.values-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(26, 84, 144, 0.15);
    border-color: var(--secondary-color);
}

.values-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.ministry-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.ministry-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    padding: 30px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.image-wrapper:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.overlay-content p {
    margin: 0;
    opacity: 0.95;
}

/* Budget Section */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.budget-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 84, 144, 0.1);
    position: relative;
    overflow: hidden;
}

.budget-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.budget-card:hover::after {
    transform: scaleX(1);
}

.budget-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.2);
}

.budget-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.budget-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.budget-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Taxes Section */
.taxes-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.taxes-intro h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.tax-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 84, 144, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 84, 144, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Publications Section */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.publication-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 84, 144, 0.1);
    position: relative;
    overflow: hidden;
}

.publication-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.publication-card:hover::before {
    transform: scaleX(1);
}

.publication-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.2);
}

.publication-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.publication-icon i {
    font-size: 2rem;
    color: var(--white);
}

.publication-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.publication-card p {
    margin-bottom: 15px;
    color: #666;
}

.publication-meta {
    margin-bottom: 20px;
    color: #999;
    font-size: 0.9rem;
}

/* Acts Section */
.acts-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.act-category {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.act-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.act-category h3 i {
    color: var(--accent-color);
}

.act-category ul {
    list-style: none;
}

.act-category ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.act-category ul li:last-child {
    border-bottom: none;
}

.act-category ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.act-category ul li a:hover {
    color: var(--primary-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 84, 144, 0.1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 0;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.2);
    border-color: var(--primary-color);
}

.service-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-item:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary-color);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s;
}

.service-item:hover h3 {
    color: var(--secondary-color);
}

.service-item p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.7;
}

.service-item .btn-link {
    margin-top: 10px;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(26, 84, 144, 0.1);
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.25);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.news-card:hover .news-image img {
    transform: scale(1.15) rotate(1deg);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
}

/* Footer */
/* Footer - only apply if not using Tailwind classes */
.footer:not([class*="bg-"]) {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(26, 84, 144, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
}

.contact-info-card h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-detail div h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-contact {
        flex-direction: column;
        gap: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .submenu {
        position: static;
        display: none !important;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        transition: none;
    }
    
    .nav-menu .submenu.active {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
    
    /* Disable hover on mobile */
    @media (max-width: 768px) {
        .nav-menu .has-submenu:hover .submenu {
            display: none !important;
        }
    }
    
    .nav-menu .has-submenu > a .fa-chevron-down {
        float: right;
        margin-top: 5px;
    }

    /* Slider Responsive */
    .slider-section {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ministry-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Additional Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Enhanced Card Hover Effects */
.quick-link-card,
.budget-card,
.service-card,
.publication-card,
.news-card {
    will-change: transform;
}

/* Smooth Transitions for All Interactive Elements */
a, button, .btn {
    will-change: transform;
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .slider-section,
    .hamburger {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .quick-links-grid,
    .budget-grid,
    .tax-services-grid,
    .publications-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
}

