/* ==================== */
/* CSS Reset & Variables */
/* ==================== */

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

:root {
    --primary-color: #646162;
    --primary-dark: #464946;
    --secondary-color: #636563;
    --accent-color: #E9FF00;
    --text-dark: #1c1c1c;
    --text-light: #E9FF00;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #666;
    --success-color: #27ae60;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

/* Loading Screen */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--text-light);
}

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 0.6s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll reveal animations - elements visible by default, only hide when JS adds the class */
.reveal {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left:not(.active) {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right:not(.active) {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Fallback: If JavaScript doesn't load, ensure content is still visible */
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right {
    opacity: 1 !important;
    transform: none !important;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.navbar {
    background-color: var(--text-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    animation: slideDown 0.5s ease;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

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

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==================== */
/* Services Section */
/* ==================== */

.services {
    padding: 80px 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.262), rgba(255, 255, 255, 0.114)), url('images/homepage.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card p {
    color: var(--gray-dark);
    line-height: 1.8;
    transition: color 0.3s ease;
}

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

/* ==================== */
/* Why Us Section */
/* ==================== */

.why-us {
    padding: 60px 20px;
    background-color: #ffffff;
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #464946;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature:hover {
    background-color: rgba(139, 69, 19, 0.03);
    transform: translateX(10px);
}

.feature h3 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.feature:hover h3 {
    transform: scale(1.05);
}

.feature p {
    color: var(--gray-dark);
}

/* ==================== */
/* CTA Section */
/* ==================== */

.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn {
    animation: pulse 2s ease-in-out infinite;
}

/* ==================== */
/* Page Header */
/* ==================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ==================== */
/* Portfolio Filter */
/* ==================== */

.portfolio-filter {
    padding: 40px 20px;
    background-color: var(--gray-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: white;
    border: 2px solid var(--gray-medium);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* ==================== */
/* Portfolio Grid */
/* ==================== */

.portfolio {
    padding: 60px 20px;
    background-color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.portfolio-image::after {
    content: '🔍 Expand';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .placeholder-image {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 1.5rem;
}

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

.portfolio-category {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p:last-child {
    color: var(--gray-dark);
    line-height: 1.6;
}

.portfolio-item.hidden {
    display: none;
}

/* Fullscreen Image Viewer */
.image-viewer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-viewer-overlay.active {
    display: flex;
}

.image-viewer-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s ease;
}

.image-viewer-close:hover {
    transform: scale(1.2);
}

/* ==================== */
/* Contact Section */
/* ==================== */

.contact-section {
    padding: 60px 20px;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-centered {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3,
.contact-info-centered h3,
.contact-form-container h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    background-color: rgba(139, 69, 19, 0.02);
    padding-left: 1rem;
    border-radius: 10px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.business-hours {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.business-hours h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.business-hours ul {
    list-style: none;
}

.business-hours li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
}

.business-hours li span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== */
/* Contact Form */
/* ==================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-top: -0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

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

.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 60px 20px 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

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

.footer-bottom p {
    opacity: 0.8;
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--text-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services h2,
    .why-us h2,
    .cta h2,
    .page-header h2 {
        font-size: 2rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ==================== */
/* About Page Styles */
/* ==================== */

.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23654321" opacity="0.05" width="1200" height="600"/><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="%23654321" opacity="0.1"/></svg>');
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

.about-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease 0.2s both;
}

.about-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease 0.4s both;
}

.about-content {
    padding: 80px 20px;
    background-color: white;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.about-image {
    position: sticky;
    top: 100px;
}

.image-placeholder {
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeIn 1s ease 0.6s both;
}

.image-placeholder:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.image-placeholder svg {
    display: block;
    width: 100%;
    height: auto;
}

.image-caption {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.about-text {
    animation: fadeIn 1s ease 0.8s both;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.about-text ul li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.6;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.about-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23654321" opacity="0.05" width="1200" height="600"/></svg>');
    background-size: cover;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== */
/* About Page Responsive */
/* ==================== */

@media (max-width: 968px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-hero h2 {
        font-size: 2rem;
    }
    
    .about-hero .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 20px;
    }
    
    .about-content {
        padding: 60px 20px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 50px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .about-hero h2 {
        font-size: 1.75rem;
    }
    
    .about-hero .subtitle {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.35rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}
