/* ============================================
   Accounting ACE - Professional Design
   ============================================ */

:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152a47;
    --primary-light: #2d5a8c;
    --accent-color: #4a90e2;
    --accent-light: #6ba3e8;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    letter-spacing: 0.5px;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    color: white;
    font-weight: 600;
}

.contact-btn:hover {
    background-color: var(--accent-light);
    color: white;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.5);
    transform: translateY(-2px);
}

.contact-btn:active {
    transform: translateY(0);
}

.contact-btn::after {
    display: none;
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(74, 144, 226, 0.6);
    }
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 120px 40px;
    border-radius: 15px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.3);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.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.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-title-animated {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -1px;
}

.hero-subtitle-animated {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e8f0f8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    line-height: 1.3;
}

.hero-slogan-animated {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 40px;
    color: #a8d5ff;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons-animated {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 45px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* ============================================
   Section Styles
   ============================================ */

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* ============================================
   Contact Grid (Responsive)
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   About Grid (Responsive)
   ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Cards Grid
   ============================================ */

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

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

/* Mission Card - Full Width */
.mission-card {
    margin: 0 auto;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.card ul {
    list-style: none;
    margin-top: 15px;
}

.card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    font-size: 14px;
}

.card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   Testimonial
   ============================================ */

.testimonial {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(74, 144, 226, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #d0e0f0;
}

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

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

.footer-section a {
    color: #a8d5ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #a8d5ff;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: row;
        height: 70px;
        padding: 0 20px;
        gap: 0;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar-menu.mobile-open {
        max-height: 300px;
    }

    .navbar-menu a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-menu a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .main-content {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        height: 60px;
        padding: 0 15px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-text {
        display: inline;
    }

    .logo-icon {
        font-size: 24px;
    }

    .hamburger-menu {
        padding: 3px;
    }

    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }

    .navbar-menu {
        top: 60px;
        padding: 15px;
    }

    .navbar-menu a {
        padding: 10px 0;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .nav-link {
        font-size: 13px;
    }
}

