/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f0ead2;
    color: #6c584c;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #6c584c;
}

p {
    color: #a98467;
}

button {
    font-family: 'Roboto', sans-serif;
    background-color: #adc178;
    color: #f0ead2;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #dde5b6;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f0ead2;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #dde5b6;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-group {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #000;
}

.nav-logo .logo-text {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    color: #6c584c;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-group a {
    text-decoration: none;
    color: #6c584c;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-group a:hover {
    color: #a98467;
}

.get-started {
    background: #adc178;
    color: #f0ead2 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease !important;
}

.get-started:hover {
    background: #6c584c;
    color: #fff !important;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .nav-group {
        display: none;
    }
    
    .nav-logo {
        margin: 0 auto;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #6c584c;
    margin: 4px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f0ead2;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid #dde5b6;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
}

/* Hero Section */
#hero {
    background: #f0ead2;
    color: #6c584c;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #6c584c;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #a98467;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content p {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.btn-primary {
    background: #adc178;
    color: #f0ead2;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: transparent;
    color: #6c584c;
    padding: 1rem 2rem;
    border: 1px solid #adc178;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #dde5b6;
    color: #6c584c;
}

.btn-secondary:hover {
    background: #adc178;
    color: #f0ead2;
    border-color: #adc178;
}

.hero-graphics {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
}

.floating-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(173, 193, 120, 0.7), rgba(221, 229, 182, 0.7));
    box-shadow: 0 8px 32px rgba(169, 132, 103, 0.1);
    backdrop-filter: blur(5px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 15%;
    right: 5%;
    background: linear-gradient(135deg, rgba(173, 193, 120, 0.4), rgba(221, 229, 182, 0.4));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph1 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 45%;
    right: 25%;
    background: linear-gradient(135deg, rgba(169, 132, 103, 0.3), rgba(108, 88, 76, 0.3));
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    animation: morph2 12s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 15%;
    background: linear-gradient(135deg, rgba(240, 234, 210, 0.6), rgba(221, 229, 182, 0.6));
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
    animation: morph3 10s ease-in-out infinite;
}

.code-block {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation: float 8s ease-in-out infinite;
}

.code-block svg {
    fill: #adc178;
    opacity: 0.8;
}

.gamepad {
    width: 150px;
    height: 150px;
    top: 45%;
    right: 25%;
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.gamepad svg {
    fill: #6c584c;
    opacity: 0.6;
}

.terminal {
    width: 100px;
    height: 100px;
    bottom: 25%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
    animation-delay: -1s;
}

.terminal svg {
    fill: #a98467;
    opacity: 0.7;
}

.floating-shape svg {
    width: 100%;
    height: 100%;
    transform-origin: center;
    animation: rotate 20s linear infinite;
}

.tech-illustration {
    width: 100%;
    height: auto;
}

.code-lines .code-line {
    animation: slideIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.code-lines .code-line:nth-child(2) { animation-delay: 0.2s; }
.code-lines .code-line:nth-child(3) { animation-delay: 0.4s; }
.code-lines .code-line:nth-child(4) { animation-delay: 0.6s; }

.gear {
    animation: rotate 10s linear infinite;
    transform-origin: center;
}

.brackets {
    animation: float 3s ease-in-out infinite;
}

.dots-container .dot {
    animation: pulse 2s ease-in-out infinite;
}

.dots-container .dot:nth-child(2) { animation-delay: 0.3s; }
.dots-container .dot:nth-child(3) { animation-delay: 0.6s; }

.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

.deco-circle {
    animation: float 4s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes morph1 {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes morph2 {
    0% { border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%; }
    50% { border-radius: 60% 40% 30% 70% / 50% 40% 60% 50%; }
    100% { border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%; }
}

@keyframes morph3 {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; }
    50% { border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-graphics {
        opacity: 0.3;
    }
}

/* About Section */
#about {
    padding: 50px;
    background-color: #f0ead2;
    color: #6c584c;
}

.about-divider {
    height: 50px;
    background: url('assets/about-divider.svg') no-repeat center center/cover;
}

.about-section {
    padding: 6rem 2rem;
    background: #f0ead2;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.retro-title {
    font-family: 'Righteous', sans-serif;
    font-size: 4rem;
    color: #6c584c;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #a98467;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-box {
    background: rgba(173, 193, 120, 0.1);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Righteous', sans-serif;
    font-size: 2rem;
    color: #6c584c;
}

.stat-label {
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: #a98467;
}

.tech-illustration {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.tech-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.circuit-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease forwards;
}

.code-symbol {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 2s;
}

.gear {
    transform-origin: center;
    animation: rotate 10s linear infinite;
}

.dots circle {
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

.dots circle:nth-child(2) {
    animation-delay: 0.5s;
}

.dots circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.about-image {
    position: relative;
    height: 400px;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .retro-title {
        font-size: 2.5rem;
    }
    
    .about-image {
        order: -1;
    }
}

/* Services Section */
#services {
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(108, 88, 76, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    fill: #adc178;
}

.service-item {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(108, 88, 76, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-item:hover {
    transform: scale(1.02);
}

.service-item h4 {
    font-size: 2rem;
    color: #6c584c;
    margin: 0;
    transition: transform 0.3s ease;
}

.service-arrow {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.service-item:hover h4,
.service-item.active h4 {
    transform: translateX(20px);
    color: #adc178;
}

.service-item:hover .service-arrow,
.service-item.active .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-preview {
    position: absolute;
    right: -350px;
    top: 50%;
    background: #dde5b6;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(173, 193, 120, 0.3);
    box-shadow: 0 15px 30px rgba(108, 88, 76, 0.1);
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.service-item:hover .service-preview {
    right: 50px;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.preview-content h5 {
    color: #6c584c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #adc178;
}

.preview-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-content li {
    color: #6c584c;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(108, 88, 76, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.preview-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    color: #adc178;
    transition: all 0.3s ease;
}

.preview-content li:hover {
    color: #adc178;
    padding-left: 1.5rem;
    background: rgba(240, 234, 210, 0.5);
}

.preview-content li:hover::before {
    opacity: 1;
}

@media (max-width: 1200px) {
    .service-preview {
        right: 0;
        width: 250px;
    }
    
    .service-item:hover .service-preview {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .service-preview {
        display: none;
    }
    
    .service-item {
        padding: 1.5rem 0;
    }
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(173, 193, 120, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6c584c;
}

/* Gallery Section */
#gallery {
    padding: 50px;
    background: #f0ead2;
    color: #6c584c;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-items img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-items img:hover {
    transform: scale(1.05);
}

/* Project Cards */
.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(108, 88, 76, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(108, 88, 76, 0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card h3 {
    padding: 1rem;
    margin: 0;
}

.project-card p {
    padding: 0 1rem 1rem;
    color: #6c584c;
}

.project-svg {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.project-card:hover .project-svg {
    transform: scale(1.1);
}

.project-image {
    position: relative;
    overflow: hidden;
    background: #f0ead2;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 4/3;
}

.project-overlay {
    background: rgba(173, 193, 120, 0.95);
}

/* Animate SVG elements */
.project-svg rect,
.project-svg circle,
.project-svg path {
    transition: all 0.3s ease;
}

.project-card:hover .project-svg rect {
    fill: #dde5b6;
}

.project-card:hover .project-svg circle {
    fill: #adc178;
}

.project-card:hover .project-svg path {
    stroke: #6c584c;
}

/* Project SVG Animations */
.project-svg .bubble {
    animation: float 3s ease-in-out infinite;
}

.project-svg .pulse {
    animation: pulse 2s ease-in-out infinite;
    transform-origin: center;
}

.project-svg .heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.project-svg .bar {
    animation: barRise 1s ease-out forwards;
    transform-origin: bottom;
}

.project-svg .coin {
    animation: spin 3s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
}

@keyframes barRise {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Featured Projects Section */
.projects-section {
    background: linear-gradient(145deg, #f0ead2 0%, rgba(240, 234, 210, 0.5) 100%);
    padding: 4rem 0;
    margin: 2rem 0;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.projects-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    -webkit-overflow-scrolling: touch;
}

.project-card {
    min-width: 280px;
    max-width: 300px;
    height: 400px;
    background: linear-gradient(145deg, #fff 0%, #f0ead2 100%);
    border-radius: 12px;
    border: 1px solid rgba(173, 193, 120, 0.2);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(108, 88, 76, 0.12);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.project-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
}

.project-category {
    color: #adc178;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.project-info h3 {
    color: #6c584c;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.project-info p {
    color: #a98467;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(108, 88, 76, 0.95), rgba(173, 193, 120, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.view-project {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .view-project {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .project-card {
        min-width: 260px;
        height: 380px;
    }

    .project-image {
        height: 180px;
    }

    .projects-grid {
        padding: 1rem 0;
    }
}

/* Hide scrollbar but keep functionality */
.projects-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .project-card {
        min-width: 260px;
        max-width: 280px;
    }
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(145deg, #f0ead2 0%, rgba(240, 234, 210, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(108, 88, 76, 0.08);
    border: 1px solid rgba(173, 193, 120, 0.2);
    backdrop-filter: blur(8px);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(169, 132, 103, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    color: #6c584c;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: #a98467;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #adc178;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(173, 193, 120, 0.1);
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.9);
    color: #6c584c;
    background: #f0ead2;
}

.contact-form .submit-btn {
    background: #6c584c;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.contact-form .submit-btn:hover {
    background: #a98467;
    transform: translateY(-2px);
}

.contact-form .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.contact-form .submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c584c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Footer */
.footer {
    background-color: #f0ead2;
    color: #6c584c;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #dde5b6;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo a {
    font-family: 'Righteous', sans-serif;
    font-size: 2rem;
    color: #6c584c;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-logo a:hover {
    color: #dde5b6;
}

.footer-brand p {
    color: #a98467;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    color: #6c584c;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
    background: rgba(108, 88, 76, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.social-links a:hover {
    color: #adc178;
    background: rgba(108, 88, 76, 0.15);
    transform: translateY(-3px);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: #6c584c;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #a98467;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #dde5b6;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(108, 88, 76, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    background: transparent;
    border: 1px solid #adc178;
    color: #6c584c;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #adc178;
    color: #f0ead2;
    transform: translateY(-3px);
}

.copyright {
    color: #a98467;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-float {
    animation: floating 3s ease-in-out infinite;
}

/* Modern Services Section */
.services-section {
    background: #f0ead2;
    padding: 6rem 2rem;
    overflow: hidden;
    position: relative;
    color: #6c584c;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.services-header {
    margin-bottom: 4rem;
}

.services-header h2 {
    color: #adc178;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.services-header h3 {
    font-size: 3.5rem;
    color: #6c584c;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.services-header p {
    color: #a98467;
    max-width: 600px;
}

.services-list {
    border-top: 1px solid rgba(108, 88, 76, 0.1);
    position: relative;
}

.service-item {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(108, 88, 76, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-item:hover {
    transform: scale(1.02);
}

.service-item h4 {
    font-size: 2rem;
    color: #6c584c;
    margin: 0;
    transition: transform 0.3s ease;
}

.service-arrow {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.service-item:hover h4,
.service-item.active h4 {
    transform: translateX(20px);
    color: #adc178;
}

.service-item:hover .service-arrow,
.service-item.active .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-preview {
    position: absolute;
    right: -350px;
    top: 50%;
    background: #dde5b6;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(173, 193, 120, 0.3);
    box-shadow: 0 15px 30px rgba(108, 88, 76, 0.1);
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.service-item:hover .service-preview {
    right: 50px;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.preview-content h5 {
    color: #6c584c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #adc178;
}

.preview-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-content li {
    color: #6c584c;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(108, 88, 76, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.preview-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    color: #adc178;
    transition: all 0.3s ease;
}

.preview-content li:hover {
    color: #adc178;
    padding-left: 1.5rem;
    background: rgba(240, 234, 210, 0.5);
}

.preview-content li:hover::before {
    opacity: 1;
}

@media (max-width: 1200px) {
    .service-preview {
        right: 0;
        width: 250px;
    }
    
    .service-item:hover .service-preview {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .services-header h3 {
        font-size: 2.5rem;
    }
    
    .service-item h4 {
        font-size: 1.5rem;
    }
    
    .service-preview {
        display: none;
    }
    
    .service-item {
        padding: 1.5rem 0;
    }
}

/* Modern Projects Section */
.projects-section {
    padding: 6rem 2rem;
    background: #f0ead2;
}

.projects-container {
    max-width: 100%;
    padding: 0 20px;
    overflow-x: hidden;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-header h2 {
    font-size: 2.5rem;
    color: #6c584c;
    margin-bottom: 1rem;
}

.projects-header p {
    color: #a98467;
    font-size: 1.1rem;
}

.projects-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.projects-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.project-card {
    min-width: 300px;
    max-width: 320px;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: linear-gradient(145deg, #f0ead2 0%, rgba(240, 234, 210, 0.8) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .project-card {
        min-width: 260px;
        max-width: 280px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(45deg, #f0ead2 0%, #ffffff 100%);
    padding: 80px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-label {
    color: #6c584c;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(145deg, #f0ead2 0%, rgba(240, 234, 210, 0.8) 100%);
    border: 1px solid rgba(173, 193, 120, 0.2);
    box-shadow: 0 8px 30px rgba(108, 88, 76, 0.08);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(108, 88, 76, 0.12);
}

.testimonial-text {
    color: #6c584c;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-text .highlight {
    color: #adc178;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0ead2;
}

.author-avatar {
    width: 50px;
    height: 50px;
}

.author-info h4 {
    color: #6c584c;
    font-size: 1.1rem;
    margin: 0;
}

.author-info p {
    color: #a98467;
    font-size: 0.9rem;
    margin: 5px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}

@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.4s; }
.testimonial-card:nth-child(4) { animation-delay: 0.6s; }
.testimonial-card:nth-child(5) { animation-delay: 0.8s; }
.testimonial-card:nth-child(6) { animation-delay: 1s; }

/* Contact Section */
.contact-section {
    background: linear-gradient(145deg, #f0ead2 0%, #ffffff 100%);
    padding: 100px 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: #adc178;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-header h2 {
    color: #6c584c;
    font-size: 42px;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form Container */
.contact-form-container {
    background: linear-gradient(145deg, #f0ead2 0%, rgba(240, 234, 210, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(108, 88, 76, 0.08);
    border: 1px solid rgba(173, 193, 120, 0.2);
    backdrop-filter: blur(8px);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(169, 132, 103, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    color: #6c584c;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0 0.5rem;
    color: #a98467;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #adc178;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(173, 193, 120, 0.1);
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.5rem) scale(0.9);
    color: #6c584c;
    background: #f0ead2;
}

.contact-form .submit-btn {
    background: #6c584c;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.contact-form .submit-btn:hover {
    background: #a98467;
    transform: translateY(-2px);
}

.contact-form .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.contact-form .submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c584c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.contact-text a[href^="mailto:"] {
    color: #a98467;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-text a[href^="mailto:"]:hover {
    color: #adc178;
    transform: translateX(5px);
}

.info-card {
    background: rgba(240, 234, 210, 0.5);
    padding: 40px;
    border-radius: 12px;
    color: #6c584c;
}

.info-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #6c584c;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    color: #adc178;
    font-size: 32px;
    font-weight: 700;
    display: block;
}

.stat-label {
    color: #6c584c;
    font-size: 14px;
    margin-top: 4px;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: #adc178;
    margin-top: 0.25rem;
}

.contact-text h4 {
    color: #6c584c;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-text p, 
.contact-text a {
    color: #a98467;
    font-size: 0.9rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #adc178;
}

.contact-details {
    margin-top: 32px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6c584c;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #adc178;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}