/*
Theme Name: AP & Associates
Theme URI: https://apna.com.np
Author: AP & Associates
Author URI: https://apna.com.np
Description: Modern professional theme for AP & Associates, Chartered Accountants
Version: 2.0
License: GPL v2 or later
Text Domain: apna
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1A2C3E;
    line-height: 1.4;
    scroll-behavior: smooth;
}

:root {
    --apna-orange: #E8542A;
    --apna-cobalt: #1B4B8A;
    --apna-orange-light: #FDE8E3;
    --apna-cobalt-light: #E8F0F9;
    --apna-dark: #0F2B3D;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Top Bar */
.top-bar {
    background: var(--apna-cobalt);
    color: white;
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 32px;
}

.top-bar a {
    color: #e0f2fe;
    text-decoration: none;
    transition: 0.2s;
}

.top-bar a:hover {
    color: var(--apna-orange);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo img {
    height: 53px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links > div {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #1f2e3a;
    transition: 0.2s;
    font-size: 0.95rem;
    padding: 8px 0;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--apna-orange);
}

/* Dropdown */
.dropdown .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown .dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    border: 1px solid #eef2f6;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 24px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #2c3e4e;
}

.dropdown-menu a:hover {
    background: var(--apna-orange-light);
    color: var(--apna-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--apna-cobalt);
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero-fullwidth {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(95deg, rgba(27, 75, 138, 0.75) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.hero-content {
    max-width: 700px;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content .hero-badge {
    background: rgba(232, 84, 42, 0.9);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    background: var(--apna-orange);
    border: none;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary:hover {
    background: #c73f18;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-light {
    background: var(--apna-orange);
    color: white;
    padding: 14px 34px;
    border-radius: 40px;
    font-weight: 700;
    display: inline-block;
    margin-top: 24px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-light:hover {
    background: #c73f18;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--apna-cobalt);
}

/* Organization Profile */
.org-profile-fullwidth {
    width: 100%;
    background: #ffffff;
    margin: 40px 0;
    padding: 80px 0;
}

.org-profile-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.org-profile-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 60px;
    align-items: center;
}

.org-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--apna-cobalt);
    line-height: 1.2;
}

.highlight-orange {
    color: var(--apna-orange);
}

.org-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e4e;
    margin-bottom: 20px;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--apna-orange);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--apna-orange);
    text-decoration: none;
    transition: 0.2s;
    margin-top: 8px;
}

.btn-readmore:hover {
    background: var(--apna-orange);
    color: white;
    transform: translateY(-2px);
}

.org-profile-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
    object-fit: cover;
}
.org-title-link,
.section-title-link,
.service-title-link,
.insight-title-link {
    text-decoration: none;
    display: inline-block;
}

.org-title-link:hover h2,
.section-title-link:hover h2,
.service-title-link:hover h3,
.insight-title-link:hover h4 {
    /* Add hover effects here */
        text-decoration: none;
    color: dimgrey;
}


/* Services Section */
.services-wrapper-fullwidth {
    width: 100%;
    background: linear-gradient(135deg, var(--apna-cobalt-light) 0%, #ffffff 100%);
    padding: 80px 0;
    margin: 40px 0;
}

.services-wrapper-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 48px 0 64px;
}

.service-card {
    background: white;
    border-radius: 28px;
    padding: 32px 24px;
    transition: all 0.25s ease;
    border: 1px solid #e9edf2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--apna-orange);
    box-shadow: 0 25px 35px -12px rgba(232, 84, 42, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--apna-orange);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--apna-cobalt);
}

.service-card p {
    color: #4a5b69;
    line-height: 1.5;
    margin-bottom: 24px;
}

.link-arrow {
    color: var(--apna-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow:hover {
    color: var(--apna-cobalt);
}

/* Insights Section */
.insights {
    margin: 64px 0;
}

.insight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.insight-item {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: 0.2s;
}

.insight-item:hover {
    border-color: var(--apna-orange);
    transform: translateY(-4px);
}

.insight-img {
    height: 200px;
    overflow: hidden;
}

.insight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-item:hover .insight-img img {
    transform: scale(1.05);
}

.insight-content {
    padding: 24px;
}

.insight-content h4 {
    font-size: 1.3rem;
    margin: 12px 0;
    font-weight: 600;
    color: var(--apna-cobalt);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(120deg, var(--apna-cobalt) 0%, #0d3870 100%);
    border-radius: 32px;
    padding: 56px 48px;
    margin: 64px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

/* Featured Clients */
.featured-clients {
    margin: 64px 0;
    text-align: center;
}

.clients-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--apna-cobalt);
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.clients-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--apna-orange);
    border-radius: 3px;
}

.logo-scroll-container {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 30px 0;
    border-radius: 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}

.logo-track {
    display: flex;
    gap: 60px;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 80px;
}

.logo-item img {
    max-width: 130px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.inside-cont{border-bottom: #e1e7f0 1px solid}

.page-content p, .page-content br {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-content {
    padding: 60px 0 0;
}
.page-content h1 {
    font-size: 2.5rem;
    color: var(--apna-cobalt);
    margin-bottom: 30px;
}
.page-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #2c3e4e;
}
.page-content strong {
  font-size: 1.2em;
}

.main_content{
 width: 80%;
  margin-top: -80px;
  border-radius: 20px;
  background-color: white;
  position: relative;
  padding: 30px;
  margin-left: 18%;
    
}    
.main_content p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-content ul li {
  margin-left: 40px;
}


.main_content blockquote {
  margin-left: -18%;
  position: relative;
  background-color: #ececec;
  border-radius: 5px;
  padding: 18px;
  margin-bottom: 20px;
        
    } 
.main_content blockquote p
{margin-bottom: 5px;
}
    


@media (max-width: 768px) {
    .page-content {
        padding: 40px 0 0;
    }
    .page-content h1 {
        font-size: 1.8rem;
    }

.main_content{width: 95%;  margin-left: 5%; }     
  
}



/* Single Insight Styles */
.insight-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.insight-single h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.insight-featured-image {
    margin: 30px 0;
}

.insight-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.insight-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.insight-meta span {
    margin-right: 20px;
}

.insight-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.insight-content h2,
.insight-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.insight-content p {
    margin-bottom: 20px;
}

.insight-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.insight-navigation a {
    color: #0066cc;
    text-decoration: none;
}

.insight-navigation a:hover {
    text-decoration: underline;
}







/* Footer */
footer {
    background: var(--apna-cobalt);
    color: #cbd5e1;
    padding: 56px 0 32px;
    margin-top: 48px;
    border-radius: 32px 32px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: #d4e2f0;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--apna-orange);
}

.copyright {
    text-align: center;
    margin-top: 56px;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .org-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .org-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .services-wrapper-fullwidth{padding: 10px 0;}   
    
.insights {
  margin: 24px 0;
} 
    
.org-profile-image{display: none;} 
.org-profile-fullwidth{padding:10px;}    
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        transition: 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        padding: 100px 20px 40px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .dropdown {
        width: 100%;
        text-align: center;
    }
    .dropdown .dropdown-toggle{
        display: block;
    }
    
    .dropdown-menu a{font-size: 1rem;}
    .dropdown-menu a:hover{background: white;}
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: white;
        margin-top: 10px;
        display: none;
        width: 100%;
        border-radius: 12px;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero-fullwidth {
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 30px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 40px 24px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .logo-item {
        min-width: 100px;
    }
}

@media (max-width: 600px) {
    .top-bar .container a:last-child {
        display: none;
    }
    
    .top-bar .container {
        justify-content: flex-start;
        gap: 20px;
    }
    
    .hero-fullwidth {
min-height: 30vh;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 20px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .org-title {
        font-size: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

