/* Base Styles */
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #1a1a2e;
    --accent-color: #4d79ff;
    --text-color: #333;
    --text-light: #666;
    --text-white: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: white;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
  }
  
  .section-header h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
  }
  
  .section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  .section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #ff3333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.2);
  }
  
  .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
  }
  
  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
  
  .btn-accent {
    background-color: var(--accent-color);
    color: white;
  }
  
  .btn-accent:hover {
    background-color: #3d69ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(77, 121, 255, 0.2);
  }
  
  
  /* Header Styles */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  header.scrolled {
    background-color: rgba(26, 26, 46, 0.98);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .logo span {
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
    gap: 30px;
  }
  
  .nav-links a {
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
  }
  
  .nav-links a:hover::after, 
  .nav-links a.active::after {
    width: 100%;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: var(--transition);
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1574717024453-e40e3ad79129?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
    color: white;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero-content span {
    color: var(--primary-color);
  }
  
  .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
  }
  
  .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
  }
  
  .hero-content h1 {
    animation-delay: 0.2s;
  }
  
  .hero-content p {
    animation-delay: 0.4s;
  }
  
  .hero-buttons {
    animation-delay: 0.6s;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Portfolio Section */
  .portfolio {
    background-color: var(--background-light);
    padding: 120px 0 100px;
  }
  
  .filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
  }
  
  .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  .view-options {
    display: flex;
    gap: 10px;
  }
  
  .view-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .view-btn:hover, .view-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .portfolio-grid.list-view {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: white;
    transition: var(--transition);
    height: 100%;
    position: relative;
  }
  
  .portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .portfolio-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }
  
  .portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .portfolio-item:hover .portfolio-thumbnail img {
    transform: scale(1.05);
  }
  
  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: scale(0.8);
    opacity: 0;
    transition: var(--transition);
  }
  
  .portfolio-item:hover .play-button {
    transform: scale(1);
    opacity: 1;
  }
  
  .portfolio-info {
    padding: 20px;
  }
  
  .portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
  }
  
  .portfolio-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .category-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: capitalize;
  }
  
  .list-view .portfolio-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
  }
  
  .list-view .portfolio-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .load-more {
    text-align: center;
  }
  
  /* Video Modal */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow: auto;
    animation: fadeIn 0.3s;
  }
  
  .modal.show {
    display: block;
  }
  
  .modal-content {
    background-color: white;
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    animation: scaleIn 0.3s;
    position: relative;
  }
  
  .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
  }
  
  .close-modal:hover {
    color: var(--primary-color);
  }
  
  .modal-content h2 {
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.5rem;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: black;
  }
  
  .video-info {
    padding: 20px;
  }
  
  .video-info p {
    margin-bottom: 15px;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  /* Services Section */
  .services {
    padding: 100px 0;
    background-color: white;
    position: relative;
    z-index: 1;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-top: 40px;
    opacity: 1;
    visibility: visible;
  }
  
  .service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 77, 77, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  .service-card p {
    color: var(--text-light);
  }
  
  /* Stats Section */
  .stats {
    background: linear-gradient(135deg, var(--secondary-color), #2a2a4a);
    color: white;
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
  }
  
  .stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
  }
  
  /* About Section */
  .about {
    padding: 100px 0;
    background-color: white;
    position: relative;
    z-index: 1;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 20px;
    margin-top: 40px;
    opacity: 1;
    visibility: visible;
  }
  
  .about-text {
    position: relative;
    z-index: 2;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
  }
  
  .about-text h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
  }
  
  .about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
  }
  
  .about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
  }
  
  .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 5px;
  }
  
  .feature i {
    color: var(--primary-color);
  }
  
  .about-image {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
  }
  
  .experience-badge h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  .experience-badge p {
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  /* Testimonials Section */
  .testimonials {
    background-color: var(--background-light);
    padding: 15px 0 10px;
  }
  
  .testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .testimonial-container {
    overflow: hidden;
    position: relative;
    min-height: 250px;
  }
  
  .testimonial-slide {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateX(100%);
  }
  
  .testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
  }
  
  .testimonial-slide.prev {
    transform: translateX(-100%);
  }
  
  .testimonial-slide.next {
    transform: translateX(100%);
  }
  
  .testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .testimonial-stars {
    display: flex;
    color: gold;
    margin-bottom: 15px;
  }
  
  .testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-light);
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
  }
  
  .author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
  }
  
  .author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
  }
  
  .author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
  }
  
  .slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .slider-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  .slider-dots {
    display: flex;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
  }
  
  /* Contact Section */
  .contact {
    padding: 120px 0 100px;
    background-color: white;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    padding: 0 20px;
  }
  
  .contact-info h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
  }
  
  .contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
  }
  
  .info-item {
    display: flex;
    margin-bottom: 25px;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
  }
  
  .info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
  }
  
  .social-links h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
  }
  
  .social-icons {
    display: flex;
    gap: 30px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
  }
  
  .contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-group {
    position: relative;
  }
  
  .full-width {
    grid-column: span 2;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
  }
  
  .error-message {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
  }
  
  .form-success {
    display: none;
    text-align: center;
    padding: 30px;
  }
  
  .form-success.show {
    display: block;
  }
  
  .success-icon {
    width: 80px;
    height: 80px;
    background-color: #eefaf0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #2ecc71;
    font-size: 2rem;
  }
  
  .form-success h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
  }
  
  .form-success p {
    color: var(--text-light);
    margin-bottom: 20px;
  }
  
  .full-width {
    width: 100%;
  }
  
  /* Footer Section */
  footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 70px 0 20px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
  }
  
  .footer-info {
    max-width: 300px;
  }
  
  .footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .footer-logo span {
    color: var(--primary-color);
  }
  
  .footer-info p {
    opacity: 0.7;
    margin-bottom: 20px;
  }
  
  .footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .footer-links h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -8px;
    left: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
  }
  
  .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .footer-contact h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -8px;
    left: 0;
  }
  
  .footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
  }
  
  .footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-bottom p {
    opacity: 0.7;
  }
  
  .footer-legal {
    display: flex;
    gap: 20px;
  }
  
  .footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
  }
  
  .footer-legal a:hover {
    color: var(--primary-color);
  }
  
  /* Scroll to Top */
  .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
    z-index: 100;
  }
  
  .scroll-to-top.show {
    opacity: 1;
    visibility: visible;
  }
  
  .scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    section {
      padding: 80px 0;
    }
    
    .section-header h2 {
      font-size: 2.4rem;
    }
    
    .portfolio,
    .services,
    .about,
    .testimonials,
    .contact {
      padding: 80px 0 60px;
    }
    
    .stats {
      padding: 80px 0;
    }
  }
  
  @media (max-width: 768px) {
    section {
      padding: 60px 0;
    }
    
    .section-header {
      margin-bottom: 40px;
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    
    .section-header p {
      font-size: 1.1rem;
    }
    
    .portfolio,
    .services,
    .about,
    .testimonials,
    .contact {
      padding: 60px 0 40px;
    }
    
    .stats {
      padding: 60px 0;
    }
    
    .about-content,
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 70%;
      max-width: 300px;
      background-color: var(--secondary-color);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      z-index: 1000;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .hamburger {
      display: flex;
      z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-content h1 {
      font-size: 2.5rem;
    }
    
    .hero-content p {
      font-size: 1.1rem;
    }
    
    .experience-badge {
      left: 10px;
      bottom: 10px;
    }
    
    .list-view .portfolio-item {
      grid-template-columns: 1fr;
    }
    
    .form-grid {
      grid-template-columns: 1fr;
    }
    
    .full-width {
      grid-column: 1;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
  }
  
  @media (max-width: 480px) {
    section {
      padding: 50px 0;
    }
    
    .section-header h2 {
      font-size: 1.8rem;
    }
    
    .section-header p {
      font-size: 1rem;
    }
    
    .portfolio,
    .services,
    .about,
    .testimonials,
    .contact {
      padding: 50px 0 30px;
    }
    
    .stats {
      padding: 50px 0;
    }
    
    .filter-container,
    .services-grid,
    .about-content,
    .contact-grid {
      padding: 0 15px;
    }
    
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
    
    .services-grid {
      grid-template-columns: 1fr;
    }
    
    .modal-content {
      width: 95%;
      margin: 10% auto;
    }
  }

  /* Legal Pages Styles */
  .legal-page {
    padding: 120px 0 80px;
    background-color: var(--background-light);
    min-height: 100vh;
  }

  .legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
  }

  .legal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  }

  .legal-header {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.05), rgba(77, 121, 255, 0.05));
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 77, 77, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,77,77,0.05)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
  }

  .legal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--accent-color) 80%, 
        transparent 100%
    );
    opacity: 0.8;
  }

  .legal-header h1 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .legal-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    opacity: 0.8;
  }

  .legal-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
    position: relative;
    z-index: 1;
  }

  .legal-content {
    color: var(--text-color);
    line-height: 1.8;
  }

  .legal-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--background-light);
    position: relative;
  }

  .legal-content h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
  }

  .legal-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
  }

  .legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
  }

  .legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
  }

  .legal-content ul li {
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
  }

  .legal-content ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
    top: 0;
  }

  .legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px dotted var(--primary-color);
  }

  .legal-content a:hover {
    color: #ff3333;
    border-bottom-style: solid;
  }

  .legal-content .last-updated {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-style: italic;
    text-align: right;
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
    .legal-page {
      padding: 100px 0 60px;
    }

    .legal-container {
      padding: 30px;
      margin: 0 15px;
    }

    .legal-header {
      padding: 30px 20px;
    }

    .legal-header h1 {
      font-size: 2.2rem;
    }

    .legal-content h2 {
      font-size: 1.8rem;
    }

    .legal-content h3 {
      font-size: 1.4rem;
    }
  }

  @media (max-width: 480px) {
    .legal-page {
      padding: 80px 0 40px;
    }

    .legal-container {
      padding: 20px;
    }

    .legal-header {
      padding: 25px 15px;
    }

    .legal-header h1 {
      font-size: 2rem;
    }

    .legal-content h2 {
      font-size: 1.6rem;
    }

    .legal-content h3 {
      font-size: 1.3rem;
    }

    .legal-content ul {
      padding-left: 20px;
    }
  }

  /* Email Subscription Section */
  .email-subscription {
    background: linear-gradient(135deg, var(--secondary-color), #2a2a4a);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }

  .email-subscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
  }

  .subscription-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
  }

  .subscription-text {
    flex: 1;
    max-width: 500px;
  }

  .subscription-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
  }

  .subscription-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
  }

  .subscription-form {
    flex: 1;
    max-width: 500px;
  }

  .subscription-form .form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
  }

  .subscription-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
  }

  .subscription-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }

  .subscription-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
  }

  .subscription-form button {
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    white-space: nowrap;
  }

  .form-message {
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 20px;
  }

  .form-message.success {
    color: #4CAF50;
  }

  .form-message.error {
    color: #ff4d4d;
  }

  @media (max-width: 768px) {
    .subscription-content {
      flex-direction: column;
      text-align: center;
    }

    .subscription-text {
      max-width: 100%;
    }

    .subscription-form {
      max-width: 100%;
    }

    .subscription-form .form-group {
      flex-direction: column;
    }

    .subscription-form button {
      width: 100%;
    }
  }
