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

:root {
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --primary-light: #3B82F6;
    --secondary: #FCD34D;
    --secondary-dark: #FBBF24;
    --secondary-light: #FDE68A;
    --accent: #2563EB;
    --highlight: #FFD700;
    --yellow: #FFC107;
    --yellow-light: #FFE082;
    --blue-light: #60A5FA;
    --blue-dark: #1E3A8A;
    --text: #F5F5F5;
    --text-dark: #CCCCCC;
    --gradient-blue-yellow: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #FCD34D 100%);
    --gradient-yellow-blue: linear-gradient(135deg, #FCD34D 0%, #3B82F6 50%, #1E40AF 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 85px;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.95) 0%, rgba(30, 64, 175, 0.95) 50%, rgba(59, 130, 246, 0.95) 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 85px;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.logo img {
    height: 280%;
    width: auto;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center;
    margin: 15px 0 0 0;
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--highlight);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    width: 25px;
    height: 19px;
    justify-content: center;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--highlight);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
    position: absolute;
    left: 0;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 8px;
}

.burger span:nth-child(3) {
    top: 16px;
}

.burger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--gradient-blue-yellow);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FFD700, #FCD34D, #FFC107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

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

.hero p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--highlight);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--highlight);
}

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

.service-card {
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(252, 211, 77, 0.3);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    border-color: var(--highlight);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
}

.service-card h3 {
    color: var(--highlight);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--gradient-yellow-blue);
}

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

.about-text h2 {
    color: var(--highlight);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-image {
    width: 100%;
    height: 400px;
    background: var(--gradient-blue-yellow);
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--text);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--gradient-yellow-blue);
}

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

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

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--highlight);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--primary);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--highlight);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Snackbar */
.snackbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 90%;
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid var(--highlight);
}

.snackbar.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.snackbar-icon {
    font-size: 1.5rem;
    color: var(--highlight);
    flex-shrink: 0;
}

.snackbar-message {
    flex: 1;
    font-weight: 500;
    text-align: center;
}

.snackbar-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.snackbar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--highlight);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #FCD34D 0%, #1E40AF 50%, #1E3A8A 100%);
    padding: 4rem 2rem 2rem;
}

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

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

.footer-section p,
.footer-section a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--highlight);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info a {
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--yellow);
}

/* Reviews Section */
.reviews {
    padding: 6rem 2rem;
    background: var(--gradient-blue-yellow);
    position: relative;
    overflow: hidden;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

.review-card {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(252, 211, 77, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(252, 211, 77, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-yellow-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
    border: 3px solid var(--highlight);
}

.review-info h4 {
    color: var(--highlight);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.review-info p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--highlight);
    font-size: 1.2rem;
}

.review-text {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
}

.review-quote {
    color: var(--highlight);
    font-size: 2rem;
    line-height: 0;
    margin-bottom: 0.5rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--blue-light) 100%);
    border: 2px solid var(--highlight);
    color: var(--highlight);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    font-weight: bold;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, var(--highlight) 0%, var(--yellow-light) 100%);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(252, 211, 77, 0.5);
    border: 2px solid var(--highlight);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--highlight);
    transform: scale(1.2);
}

.service-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--highlight);
    filter: drop-shadow(0 4px 8px rgba(252, 211, 77, 0.3));
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        height: 65px;
    }

    nav {
        padding: 0 1.5rem;
    }

    .logo {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .logo img {
        height: 400%;
        width: auto;
        max-height: none;
        display: block;
        object-fit: contain;
        object-position: center;
        margin: 10px 0 0 0;
        padding: 0;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 65px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(252, 211, 77, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        height: calc(100vh - 65px);
        overflow-y: auto;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info p {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
    
    .contact {
        padding: 4rem 1.5rem;
    }
    
    .contact-container {
        max-width: 100%;
    }
    
    .services {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .portfolio {
        padding: 4rem 1.5rem;
    }
    
    .about {
        padding: 4rem 1.5rem;
    }
    
    .about-content {
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    body {
        padding-top: 65px;
    }

    .hero {
        padding: 1.5rem;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
        margin-top: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-item {
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }

    .reviews {
        padding: 4rem 1rem;
    }

    .reviews-container {
        padding: 0 1rem;
    }

    .review-card {
        padding: 1.5rem;
        min-width: 100%;
        max-width: 100%;
    }

    .review-text {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
    
    header.scrolled {
        box-shadow: 0 3px 15px rgba(255, 215, 0, 0.15);
    }

    .snackbar {
        min-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .snackbar-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .portfolio-item {
        height: 200px;
    }
    
    .about-image {
        height: 250px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
}

