/* Sleek Minimalist Design - Inspired by Audubon Companies */
/* Acetech Holdings Website */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #08264f;
    --primary-dark: #051a33;
    --secondary: #f6d809;
    --secondary-dark: #d4ba08;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e8e8e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    color: var(--text-gray);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: var(--bg-white);
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(246,216,9,0.3);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
}

.hero .btn-outline {
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero .btn-outline:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(246,216,9,0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(246,216,9,0.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card .card-image {
    flex-shrink: 0;
}

.card h3 {
    padding: 30px 40px 16px 40px;
    margin-bottom: 0;
}

.card p {
    padding: 0 40px 40px 40px;
    margin-bottom: 0;
    flex-grow: 1;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
    background: var(--bg-light);
    display: block;
    min-height: 200px;
    max-height: 300px;
}

.image-section {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    margin: 30px 0;
    aspect-ratio: 16 / 9;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 40px 30px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin: 20px 0 12px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* Backgrounds */
.bg-light {
    background: var(--bg-light);
}

.bg-white {
    background: var(--bg-white);
}

.bg-dark {
    background: var(--text-dark);
    color: #fff;
}

.bg-primary {
    background: var(--primary);
    color: #fff;
}

.bg-secondary {
    background: var(--secondary);
    color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
    padding: 120px 0 40px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.breadcrumb nav {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb nav a {
    color: var(--text-gray);
}

.breadcrumb nav a:hover {
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #999;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Contact Bar */
.contact-bar {
    background: var(--text-dark);
    color: #fff;
    padding: 40px 0;
}

.contact-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-bar-item p:first-child {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.contact-bar-item a {
    color: #fff;
    font-size: 0.95rem;
}

.contact-bar-item a:hover {
    color: var(--secondary);
}

/* Feedback Button */
.feedback-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(246,216,9,0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246,216,9,0.5);
    background: var(--secondary-dark);
}

.feedback-btn span:first-child {
    font-size: 1.3rem;
}

.feedback-text {
    display: inline;
}

/* Feedback Modal */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.feedback-modal-content {
    background: var(--bg-white);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border);
}

.feedback-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.feedback-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.feedback-close:hover {
    color: var(--text-dark);
}

.feedback-form {
    padding: 30px;
}

.feedback-form .form-group {
    margin-bottom: 25px;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feedback-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.feedback-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,38,79,0.1);
}

.feedback-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.rating-group {
    display: flex;
    gap: 5px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-group input[type="radio"] {
    display: none;
}

.rating-group label {
    font-size: 2rem;
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s ease;
    margin: 0;
    padding: 0;
}

.rating-group input[type="radio"]:checked ~ label,
.rating-group label:hover,
.rating-group label:hover ~ label {
    color: var(--secondary);
}

.feedback-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feedback-form-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Mobile Feedback */
@media (max-width: 768px) {
    .feedback-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .feedback-text {
        display: none;
    }
    
    .feedback-btn span:first-child {
        font-size: 1.5rem;
    }
    
    .feedback-modal {
        padding: 10px;
    }
    
    .feedback-modal-content {
        max-height: 95vh;
    }
    
    .feedback-modal-header {
        padding: 20px;
    }
    
    .feedback-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .feedback-form {
        padding: 20px;
    }
    
    .feedback-form-actions {
        flex-direction: column;
    }
    
    .feedback-form-actions .btn {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .section {
        padding: 50px 0;
    }
    
    .section-sm {
        padding: 40px 0;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .card {
        padding: 0;
    }
    
    .card h3 {
        padding: 20px 20px 12px 20px;
        font-size: 1.3rem;
    }
    
    .card p {
        padding: 0 20px 25px 20px;
        font-size: 0.95rem;
    }
    
    .card-image {
        aspect-ratio: 16 / 9;
        min-height: 180px;
    }
    
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .contact-bar-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .breadcrumb {
        padding: 20px 0;
    }
    
    .breadcrumb > div {
        padding: 0 20px;
    }
    
    .breadcrumb h1 {
        font-size: 1.8rem;
    }
    
    /* Fix grid layouts for mobile */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .stats-grid {
        padding: 40px 20px !important;
        margin-top: 40px !important;
    }
    
    .stats-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
    
    /* About section image */
    .image-section {
        min-height: 250px;
        max-height: 350px;
        margin: 20px 0;
    }
    
    /* Contact page mobile layout */
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        display: flex !important;
        flex-direction: column;
    }
    
    .contact-form {
        order: -1; /* Form appears first on mobile */
    }
    
    .contact-info {
        order: 1; /* Contact info appears second on mobile */
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 50px;
        min-height: 450px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .section {
        padding: 40px 0;
    }
    
    .section-sm {
        padding: 30px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 65px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .card-grid {
        gap: 15px;
    }
    
    .card-image {
        min-height: 160px;
    }
    
    .btn {
        padding: 11px 20px;
        font-size: 0.85rem;
        max-width: 100%;
    }
    
    .contact-bar {
        padding: 30px 0;
    }
    
    .contact-bar-content {
        padding: 0 15px;
        gap: 20px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    /* Statistics section */
    .stats-inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .about-grid {
        gap: 25px !important;
    }
    
    /* Contact page mobile layout */
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .contact-form {
        order: -1; /* Form appears first on mobile */
    }
    
    .contact-info {
        order: 1; /* Contact info appears second on mobile */
    }
}
