* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    opacity: 1;
    display: block;
}

body{
    background-color: black;
    color: white;
    font-family: 'Montserrat', sans-serif;
    background-image: url('images/header-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-symbol {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 10px;
    letter-spacing: 2px;
    color: #d4a574;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #d4a574;
}

.cta-button {
    background-color: #d4a574;
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e5b589;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    position: relative;
    padding: 50px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    z-index: 10;
}

.hero-tagline {
    font-size: 24px;
    color: #000000;
    font-weight: 300;
    font-style: italic;
}

.hero-title {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 900px;
}

.explore-button {
    background-color: #d4a574;
    color: black;
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.explore-button:hover {
    background-color: #e5b589;
}

/* Stats Section */
.stats {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 60px;
    z-index: 10;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 36px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat p {
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* Side Text */
.side-text {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

/* General Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Navbar Styles */
.services {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.services h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #f0f0f0;
}

.service-card h3 {
    font-size: 24px;
    margin: 20px;
    color: #333;
}

.service-card p:first-of-type {
    font-weight: bold;
    color: #d4a574;
    margin: 0 20px 10px;
}

.service-card p:last-of-type {
    margin: 0 20px 20px;
    color: #666;
}

/* Studio Section */
.studio {
    padding: 100px 0;
    background-color: white;
}

.studio h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
}

.studio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.studio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    background-color: #f0f0f0;
}

.studio-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.studio-item p {
    color: #666;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.about h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    align-items: center;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #666;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timeline-item h4 {
    font-size: 24px;
    color: #d4a574;
    min-width: 80px;
}

.timeline-item p {
    color: #333;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
    background-color: #f0f0f0;
}

/* Insights Section */
.insights {
    padding: 100px 0;
    background-color: white;
}

.insights h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    background-color: #f0f0f0;
}

.article h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.article p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    color: #d4a574;
    text-decoration: none;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.testimonials h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial p {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.testimonial cite {
    font-weight: bold;
    color: #333;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.contact-info p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form textarea {
    grid-column: span 2;
}

.contact-form button {
    grid-column: span 2;
    padding: 15px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e5b589;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #d4a574;
    margin-bottom: 10px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links p,
.footer-social a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    text-decoration: none;
}

.footer-social a:hover {
    color: #d4a574;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
}

.footer-nav a:hover {
    color: #d4a574;
}

/* Theme Toggle */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-color: #d4a574;
}

body.dark-mode {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
}

.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 98;
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

body.dark-mode .theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
}

/* Removed duplicate carousel styles - see consolidated rules at line 1107 */



/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-color), #e5b589);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: white;
    color: var(--accent-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Newsletter Form */
.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter .newsletter-form {
    flex-direction: column;
}

.footer-newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.footer-newsletter button {
    padding: 10px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.footer-newsletter button:hover {
    background-color: #e5b589;
}

/* Dark Mode Adjustments */
body.dark-mode .service-card,
body.dark-mode .testimonial-slide,
body.dark-mode .article {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

body.dark-mode .services,
body.dark-mode .insights,
body.dark-mode .contact {
    background-color: var(--bg-primary);
}

body.dark-mode .studio,
body.dark-mode .about,
body.dark-mode .testimonials {
    background-color: var(--bg-secondary);
}

body.dark-mode .services h2,
body.dark-mode .studio h2,
body.dark-mode .about h2,
body.dark-mode .insights h2,
body.dark-mode .testimonials h2,
body.dark-mode .contact h2 {
    color: var(--text-primary);
}

body.dark-mode .service-card h3,
body.dark-mode .studio-item h3,
body.dark-mode .article h3 {
    color: var(--text-primary);
}

body.dark-mode .service-card p,
body.dark-mode .studio-item p,
body.dark-mode .article p,
body.dark-mode .testimonial p {
    color: var(--text-secondary);
}

/* Enhanced Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card {
    animation: slideUp 0.6s ease-out;
}

.service-card:hover {
    animation: float 2s ease-in-out infinite;
}

.stat {
    animation: slideUp 0.6s ease-out;
}

/* Portfolio Grid (if needed) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 165, 116, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: white;
    text-align: center;
}
    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 slideCarousel {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: white;
}

.portfolio h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #333;
    animation: fadeInUp 1s ease-out both;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #d4a574;
    background-color: white;
    color: #333;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #d4a574;
    color: white;
    transform: translateY(-3px);
}

.filter-btn.active {
    background-color: #d4a574;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
    animation: fadeInUp 1s ease-out both;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 165, 116, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.portfolio-item.hidden {
    display: none;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    background: white;
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 300px;
    display: none;
    flex-direction: column;
    justify-content: center;
    animation: slideCarousel 0.6s ease-out forwards;
}

.testimonial-slide.active {
    display: flex;
}

.testimonial-slide p {
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.testimonial-slide cite {
    font-weight: bold;
    font-style: normal;
    color: #333;
    font-size: 16px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d4a574;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: #e5b589;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #d4a574;
    transform: scale(1.3);
}

.dot:hover {
    background-color: #d4a574;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out both;
}

.newsletter h2 {
    font-size: 44px;
    margin-bottom: 20px;
    color: white;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 40px;
    background-color: #d4a574;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e5b589;
}

.newsletter-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Dark/Light Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    background-color: #d4a574;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    background-color: #e5b589;
    transform: scale(1.1);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #0d0d0d;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background-color: rgba(13, 13, 13, 0.95);
}

body.dark-mode .services,
body.dark-mode .portfolio,
body.dark-mode .insights {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .services h2,
body.dark-mode .portfolio h2,
body.dark-mode .studio h2,
body.dark-mode .about h2,
body.dark-mode .insights h2,
body.dark-mode .testimonials h2,
body.dark-mode .contact h2,
body.dark-mode .newsletter h2 {
    color: #e0e0e0;
}

body.dark-mode .studio,
body.dark-mode .about,
body.dark-mode .contact {
    background-color: #1a1a1a;
}

body.dark-mode .testimonials {
    background-color: #0d0d0d;
}

body.dark-mode .service-card,
body.dark-mode .testimonial-slide {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .service-card h3,
body.dark-mode .testimonial-slide cite,
body.dark-mode .about-text p,
body.dark-mode .contact-info p {
    color: #e0e0e0;
}

body.dark-mode .service-card p,
body.dark-mode .article p,
body.dark-mode .testimonial-slide p {
    color: #b0b0b0;
}

body.dark-mode .filter-btn {
    border-color: #d4a574;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    background-color: #d4a574;
    color: #0d0d0d;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea,
body.dark-mode .newsletter-form input {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
}

body.dark-mode .footer {
    background-color: #0d0d0d;
}

/* responsive tweaks for testimonial carousel */
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 15px;
        position: relative;
    }
    .carousel-wrapper {
        position: relative;
        padding: 0 45px;
    }
    .testimonial-slide {
        padding: 30px 20px;
        min-height: 200px;
    }
    .testimonial-slide p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .carousel-prev, .carousel-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        padding: 0;
        font-size: 18px;
        z-index: 11;
    }
    .carousel-prev {
        left: 5px;
    }
    .carousel-next {
        right: 5px;
    }
    .carousel-dots {
        margin-top: 15px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .dot.active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 0 10px;
    }
    .carousel-wrapper {
        padding: 0 40px;
    }
    .testimonial-slide {
        padding: 20px 15px;
        min-height: 180px;
        border-radius: 8px;
    }
    .testimonial-slide p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .testimonial-slide cite {
        font-size: 14px;
    }
    .carousel-prev, .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .carousel-prev {
        left: 0;
    }
    .carousel-next {
        right: 0;
    }
}

/* Keyframe Animations */

/* Apply animations to sections */
.hero-content {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stats {
    animation: fadeIn 1s ease-out 1s both;
}

.services h2 {
    animation: fadeInUp 1s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }

.studio-item:nth-child(1) { animation-delay: 0.2s; }
.studio-item:nth-child(2) { animation-delay: 0.4s; }
.studio-item:nth-child(3) { animation-delay: 0.6s; }

.article:nth-child(1) { animation-delay: 0.2s; }
.article:nth-child(2) { animation-delay: 0.4s; }
.article:nth-child(3) { animation-delay: 0.6s; }

.testimonial:nth-child(1) { animation-delay: 0.2s; }
.testimonial:nth-child(2) { animation-delay: 0.4s; }
.testimonial:nth-child(3) { animation-delay: 0.6s; }

.contact h2 {
    animation: fadeInUp 1s ease-out both;
}

.contact-content {
    animation: fadeIn 1s ease-out 0.5s both;
}

/* Enhanced hover effects */
.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.studio-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Button animations */
.cta-button, .explore-button, .contact-form button {
    position: relative;
    overflow: hidden;
}

.cta-button::before, .explore-button::before, .contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before, .explore-button:hover::before, .contact-form button:hover::before {
    left: 100%;
}

/* Logo animation */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Nav menu animations */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d4a574;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: #d4a574;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Design Enhancements */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .navbar-container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 60px;
    }

    .services-grid, .articles-grid, .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .about-content, .contact-content {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 30px;
        min-height: calc(100vh - 60px);
    }

    .hero-title {
        font-size: 54px;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .stats {
        gap: 40px;
        bottom: 30px;
    }

    .stat h3 {
        font-size: 30px;
    }

    .services, .studio, .about, .insights, .testimonials, .contact {
        padding: 80px 0;
    }

    .services h2, .studio h2, .about h2, .insights h2, .testimonials h2, .contact h2 {
        font-size: 42px;
        margin-bottom: 50px;
    }

    .services-grid, .articles-grid, .testimonials-grid {
        gap: 30px;
    }

    .about-content, .contact-content {
        gap: 40px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .timeline-item h4 {
        min-width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
        position: static;
        margin-top: 50px;
    }

    .side-text {
        display: none;
    }

    .services h2, .studio h2, .about h2, .insights h2, .testimonials h2, .contact h2 {
        font-size: 36px;
    }

    .services-grid, .studio-grid, .articles-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form textarea {
        grid-column: span 1;
    }

    .contact-form button {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-nav a {
        margin-left: 0;
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
}

/* Additional Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .theme-toggle,
    .cta-button,
    .explore-button,
    .carousel-prev,
    .carousel-next,
    #scrollToTopBtn {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
}