/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #555;
    overflow-x: hidden;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85), rgba(179, 160, 99, 0.85));
    color: white;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.top-bar-item i {
    font-size: 1rem;
    flex-shrink: 0;
}

.top-bar-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-right > span {
    margin-right: 0.5rem;
}

/* ===== SOCIAL ICONS ===== */
.social-top {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Base style */
.social-top a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

/* === Default Brand Colors === */
.social-top a.facebook {
    background-color: #1877F2;
}

.social-top a.twitter {
    background-color: #000000; /* X/Twitter black */
}

.social-top a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, 
                #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-top a.linkedin {
    background-color: #0077B5;
}

/* === Hover Animation (no color change) === */
.social-top a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* ===== HEADER ===== */
header {
    background: #ffffff;
    padding: 1rem 0;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f0f0f0;
}


.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo span {
    display: none;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #B8860B;
    transition: width 0.3s;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: #B8860B;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #B8860B;
    background: none;
    border: none;
    padding: 0.5rem;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85), rgba(104, 102, 102, 0.85)), 
                url(bookkeeping.webp) center/cover no-repeat;
    color: #fff;
    padding: 180px 2rem 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.hero-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

/* ===== BUTTONS ===== */
.btn, .btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, #8B6914, #B8860B);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #B8860B;
    color: #B8860B;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: white;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8B6914;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #B8860B, #DAA520);
    border-radius: 2px;
}

/* ===== CONTENT CONTAINER ===== */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FOOTER ===== */
footer {
    background: #4c4747f4;
    color: white;
    padding: 80px 2rem 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #DAA520;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section p {
    color: #CCC;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
    word-break: break-word;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #DAA520;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #B8860B, #DAA520);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    flex-shrink: 0;
}

.social-icon:hover {
    background: linear-gradient(135deg, #DAA520, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #5A4329;
    color: #999;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .header-container,
    .top-bar-container {
        padding: 0 1.5rem;
    }

    .navbar ul {
        gap: 1.5rem;
    }

    .navbar a {
        font-size: 0.95rem;
    }

    .hero {
        padding: 140px 1.5rem 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

    .content-container {
        padding: 3rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }

    .top-bar-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .top-bar-left {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .top-bar-item {
        font-size: 0.85rem;
        justify-content: center;
    }

    .top-bar-right {
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .social-top {
        gap: 0.5rem;
    }

    .social-top a {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .header-container {
        min-height: 70px;
        padding: 0 1rem;
    }

    .logo img {
        height: 70px;
    }

    .navbar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar.active ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .navbar.active a {
        padding: 0.75rem 0;
        display: block;
    }

    .hero {
        padding: 120px 1rem 80px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

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

    .content-container {
        padding: 2rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer {
        padding: 50px 1rem 20px;
    }
}

/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .top-bar {
        font-size: 0.8rem;
    }

    .top-bar-item {
        font-size: 0.8rem;
    }

    .top-bar-item span {
        display: none;
    }

    .top-bar-right span {
        display: none;
    }

    .social-top a {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .header-container {
        min-height: 60px;
        padding: 0 1rem;
    }

    .logo img {
        height: 60px;
    }

    .menu-toggle {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 1rem 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .content-container {
        padding: 1.5rem 0.75rem;
    }

    .footer-section h3 {
        font-size: 1.15rem;
    }

    .footer-section p,
    .footer-links li {
        font-size: 0.9rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.5rem;
    }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .top-bar-left {
        gap: 0.5rem;
    }

    .top-bar-item i {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

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

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 80px 1rem 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}