/* Base Styles */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #34A853;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --spacing-unit: 1rem;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 10000;
    transition: width 0.2s ease;
    width: 0%;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: top 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-nav.visible {
    top: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a.nav-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.nav-links a.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

section {
    padding: 4rem 0;
}

h1, h2, h3, h4 {
    margin-bottom: var(--spacing-unit);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
    animation: badgePop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s backwards;
}

@keyframes badgePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.badge-owner {
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin: 0.5rem;
    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 ease, height 0.6s ease;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

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

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s ease;
}

.cta-buttons {
    text-align: center;
    margin-top: 2rem;
}

/* Hero Section - Split Layout */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.animated-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(26, 115, 232, 0.05) 0%, 
        rgba(52, 168, 83, 0.05) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

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

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.hero-company {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-company h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.appic-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.company-tagline {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 1rem 0;
}

.company-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.hero-owner {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-owner h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(26, 115, 232, 0.4);
}

.owner-title {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.owner-tagline {
    font-size: 1rem;
    color: var(--text-color);
    font-style: italic;
    margin-top: 1rem;
}

/* Company About Section */
.company-about {
    background-color: var(--white);
}

.company-story {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.company-story .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.company-story p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.company-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition-bounce);
}

.animated-icon {
    display: inline-block;
}

.hover-lift:hover .animated-icon {
    transform: scale(1.2) rotate(5deg);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-light);
}

/* Leadership Section */
.leadership {
    background-color: var(--light-gray);
}

.leadership-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.leader-photo {
    text-align: center;
}

.leader-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.leader-image:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.leader-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leader-title {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.leader-bio p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.why-owner-matters {
    background-color: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.why-owner-matters h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.why-owner-matters p {
    color: var(--text-color);
    margin-bottom: 0;
}

.leadership-roles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.role-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.role-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition-bounce);
}

.role-card:hover i {
    transform: scale(1.2) rotate(-5deg);
}

.role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.role-card p {
    color: var(--text-light);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(26, 115, 232, 0.2);
    border-color: rgba(26, 115, 232, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition-bounce);
}

.service-card:hover i {
    transform: scale(1.2);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
}

/* Owner-Operated Advantage Section */
.owner-advantage {
    background: linear-gradient(135deg, #1A73E8 0%, #34A853 100%);
    color: var(--white);
}

.owner-advantage h2 {
    color: var(--white);
}

.owner-advantage .section-intro {
    color: rgba(255, 255, 255, 0.95);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    color: var(--text-color);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
    border-color: rgba(26, 115, 232, 0.3);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition-bounce);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

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

.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    text-align: center;
}

.contact-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-company {
    text-align: center;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-company h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-established {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.footer-ownership {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 600;
}

.footer-links,
.footer-connect {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4,
.footer-connect h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-connect a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover,
.footer-connect a:hover {
    color: var(--white);
}

.footer-connect i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.75rem;
    }

    .nav-links {
        display: flex;
    }

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

    .company-values {
        grid-template-columns: repeat(3, 1fr);
    }

    .leadership-content {
        grid-template-columns: 300px 1fr;
        gap: 3rem;
    }

    .leader-info {
        text-align: left;
    }

    .leadership-roles {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-company {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    .nav-container {
        justify-content: center;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-progress {
        transition: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner-visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

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

.cookie-btn-accept:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.cookie-btn-reject:hover {
    background: var(--light-gray);
    border-color: var(--text-light);
}

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

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-notification-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cookie Settings Link Styling */
.cookie-settings-link {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-settings-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .cookie-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .cookie-text i {
        font-size: 1.5rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        text-align: center;
    }
}

