/*
Theme Name: Karting Novi Sad Pro
Theme URI: https://kartingnovisad.rs
Author: Karting Novi Sad Team
Author URI: https://kartingnovisad.rs
Description: Custom karting WordPress theme with dark design and neon green accents for Karting Novi Sad
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: karting-novi-sad
*/

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-green: #b6e925;
    --dark-bg: #0f0f0f;
    --lighter-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #d8d8d8;
    --border-color: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h6 { font-size: 0.875rem; color: var(--neon-green); letter-spacing: 2px; }

@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.25rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; line-height: 1.1; }
    h2 { font-size: 1.75rem; line-height: 1.2; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.2rem; }
    h6 { font-size: 0.75rem; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neon-green);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 38px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--neon-green);
    background: transparent;
    color: var(--neon-green);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 30px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 25px;
        font-size: 0.75rem;
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

.btn:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
    }
}

.site-logo img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .site-logo img {
        height: 28px;
    }
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.main-navigation a {
    font-size: 1rem;
    font-weight: 400;
    position: relative;
}

.main-navigation a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.3s ease;
}

.main-navigation a:hover:after {
    width: 100%;
}

.header-button {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .header-button {
        margin-left: 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        background-attachment: scroll;
        padding: 0 15px;
    }
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
}

.hero-content h1 {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 30px;
    }
}

.section-subtitle {
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

.content-image {
    position: relative; 
    display: inline-block;
    z-index: 1; 
}

.content-image::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-image: url(https://kartingns.com/wp-content/uploads/2025/10/custom-bike-builder-story-section-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
    background-size: contain;
    opacity: 0.5;
}


.diagonal-bg {
    position: absolute;
    transform: skewY(-5deg);
    transform-origin: top left;
}

.diagonal-left .diagonal-bg {
    left: -10%;
    top: 0;
    width: 60%;
    height: 120%;
}

.diagonal-right .diagonal-bg {
    top: 0;
    width: 60%;
    height: 120%;
    background-image: url(https://kartingns.com/wp-content/uploads/2025/10/custom-bike-builder-story-section-bg.svg);
    background-repeat: no-repeat;
    /* background-position: bottom; */
    /* background-repeat: repeat-y; */
}

.diagonal-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text h6 {
    margin-bottom: 15px;
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-image img {
    width: 100%;
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.3s ease;
}

.content-image:hover img {
    filter: grayscale(0%) contrast(100%);
}

/* Stats Counter */
.stats-section {
    background: var(--dark-bg);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 1024px) {
    .stats-grid {
       grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-section {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-family: 'Oswald', sans-serif;
    color: var(--neon-green);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-title {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.work-subtitle {
    font-size: 0.875rem;
    color: var(--neon-green);
}

/* Testimonial Section */
.testimonial-section {
    position: relative;
    gap: 60px;
    align-items: center;
}

.testimonial-content {
    padding: 60px;
}

.quote-icon {
    font-size: 4rem;
    color: var(--neon-green);
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1.25rem;
    color: var(--neon-green);
    text-transform: uppercase;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-slide {
    display: none; /* Sakrije sve slajdove po defaultu */
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: var(--lighter-dark);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block; /* Prikazuje samo aktivni slajd */
    opacity: 1;
}


/* Team Section */
.team-section {
    background: var(--lighter-dark);
    padding: 100px 0;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.team-image img {
    width: 100%;
}

.team-info h6 {
    margin-bottom: 10px;
}

.team-info h2 {
    margin-bottom: 20px;
}

.team-info p {
    margin-bottom: 15px;
}

.signature {
    margin-top: 30px;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 150px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    margin-bottom: 30px;
}

.cta-content a {
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    padding: 80px 0 30px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        gap: 20px;
    }
}

.footer-widget h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-widget p {
    font-size: 1rem;
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a:hover {
    color: var(--neon-green);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--dark-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

/* Responsive (Legacy) - Being replaced by comprehensive mobile section below */
@media (max-width: 1024px) {
    .diagonal-content,
    .testimonial-section,
    .team-content {
        grid-template-columns: 1fr;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy mobile styles - replaced by comprehensive section below */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        border-top: 1px solid var(--border-color);
    }
    
    .main-navigation.active,
    .main-navigation.mobile-open {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation a {
        padding: 10px 0;
        font-size: 1.1rem;
        display: block;
    }
}

/* Contact Page Styles */
.page-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--neon-green);
}

.contact-section {
    background: var(--lighter-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--lighter-dark);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    font-size: 1rem;
    padding: 18px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-details p {
    line-height: 1.6;
    margin: 0;
}

.map-section {
    height: 450px;
    overflow: hidden;
}

.map-container {
    height: 100%;
}

.map-container iframe {
    filter: grayscale(100%) contrast(120%) invert(92%);
}

/* Form Messages */
.success-message {
    background: rgba(182, 233, 37, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.error-message {
    background: rgba(255, 67, 67, 0.1);
    border: 1px solid #ff4343;
    color: #ff4343;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Features List */
.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list i {
    color: var(--neon-green);
    font-size: 1.2rem;
}

/* Header Scrolled State */
.site-header.scrolled {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(182, 233, 37, 0.8);
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        gap: 15px;
    }
}

.package-item {
    background: var(--lighter-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.package-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.package-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-item:hover img {
    transform: scale(1.1);
}

.package-content {
    padding: 30px;
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.package-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--text-gray);
}

.package-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
}

/* Testimonial Slider */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: var(--lighter-dark);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    padding: 0;
}

.quote-icon {
    font-size: 4rem;
    color: var(--neon-green);
    line-height: 1;
    margin-bottom: 20px;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-light);
    padding: 0 50px;
}

.testimonial-author {
    font-size: 1.1rem;
    color: var(--neon-green);
    text-transform: uppercase;
    font-weight: 600;
}

.testimonial-image {
    text-align: center;
}

.testimonial-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-green);
}

/* Team Slider */
.team-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.team-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-slide.active {
    opacity: 1;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--dark-bg);
    padding: 60px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.team-image {
    text-align: center;
}

.team-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--neon-green);
}

.team-info h6 {
    margin-bottom: 10px;
    color: var(--neon-green);
    text-transform: uppercase;
    font-weight: 600;
}

.team-info h2 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.team-info p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

.signature {
    margin-top: 30px;
    max-width: 150px;
}

/* Slider Navigation */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(182, 233, 37, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--dark-bg);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--neon-green);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--neon-green);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(182, 233, 37, 0.7);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.newsletter-content p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
}

.newsletter-form .form-group {
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    background: var(--lighter-dark);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--neon-green);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-gray);
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--neon-green);
    border: 2px solid var(--neon-green);
    border-radius: 50px;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--neon-green);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
}

.newsletter-message.success {
    background: rgba(182, 233, 37, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.newsletter-message.error {
    background: rgba(255, 67, 67, 0.1);
    border: 1px solid #ff4343;
    color: #ff4343;
}

/* Comprehensive Mobile Responsive Updates */
@media (max-width: 1024px) {
    .diagonal-content,
    .testimonial-section,
    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-slide,
    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .testimonial-image img,
    .team-image img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
        max-width: none;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .testimonial-slide,
    .team-content {
        padding: 20px 15px;
        gap: 25px;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    /* Hide complex elements on small screens */
    .diagonal-bg {
        display: none;
    }
    
    .parallax-effect {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .testimonial-slide,
    .team-content {
        padding: 15px 10px;
        gap: 20px;
    }
    
    .testimonial-image img,
    .team-image img {
        width: 100px;
        height: 100px;
    }
    
    .slider-dots {
        margin-top: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
