/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
    /* Brand Colors */
    --primary-color: #7f5af0;
    --primary-dark: #5a38c2;
    --primary-light: rgba(127, 90, 240, 0.1);
    --secondary-color: #16161a;
    --secondary-light: #242629;
  
    /* Neutrals */
    --dark-color: #1a1a1e;
    --darker-color: #121216;
    --light-color: #f4f4f5;
    --gray-color: #94a1b2;
    --gray-dark: #2e2f3e;
    --gray-light: #e4e4e7;
  
    /* Text */
    --text-color: #646464;
    --heading-color: #5a38c2;
  
    /* UI & Effects */
    --transition: all 0.25s ease-in-out;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    --border-radius: 10px;
  
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Rubik', sans-serif;
  
    /* Gradient Accent */
    --gradient: linear-gradient(135deg, #7f5af0 0%, #ff5470 100%);
    --gradient-secondary: linear-gradient(135deg, #ffffff 0%, #ff5470 100%);
  }
  

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
}

.btn i, .btn svg {
    margin-left: 8px;
    transition: var(--transition);
}

.btn:hover i, .btn:hover svg {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 62, 47, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 62, 47, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    width: 180px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 35px;
}

.nav-list li a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-list li a:hover, .nav-list li a.active {
    color: white;
}

.nav-list li a:hover::after, .nav-list li a.active::after {
    width: 100%;
}

.nav .btn {
    margin-left: 35px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 25px;
    font-size: 3.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--gray-color);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: var(--border-radius);
    top: 20px;
    left: 20px;
    z-index: 0;
    opacity: 0.8;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--gray-color);
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background: var(--gradient);
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover h3, .service-card:hover p, .service-card:hover .service-link {
    color: white;
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content .section-subtitle {
    margin-bottom: 15px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
}

.about-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: var(--border-radius);
    top: 20px;
    right: 20px;
    z-index: 0;
    opacity: 0.8;
}

/* Work Section */
.work {
    background-color: var(--light-color);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.work-image {
    height: 250px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-content {
    padding: 30px;
}

.work-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.work-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.work-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.work-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.work-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.work-link:hover i {
    transform: translateX(5px);
}

.work-cta {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-prev, .testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-color);
    color: white;
}

/* CTA Section */
.cta {
    padding: 80px 0;
}

.cta-wrapper {
    background: var(--gradient);
    border-radius: var(--border-radius);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 60%;
}

.cta-content h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--gray-color);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 180px;
}

.footer-logo p {
    margin-top: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h2 {

color: white;

}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
}

.footer-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(255, 62, 47, 0.03), rgba(255, 94, 58, 0.03));
    top: -150px;
    right: 10%;
}

.footer-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(255, 62, 47, 0.03), rgba(255, 94, 58, 0.03));
    bottom: -100px;
    left: 5%;
}

/* Page Content */
.page-content {
    padding: 150px 0 100px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.page-header h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.content-wrapper h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-wrapper ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-wrapper ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.content-wrapper ul li::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 0;
    top: 10px;
}

.last-updated {
    margin-top: 50px;
    font-style: italic;
    color: var(--gray-color);
    text-align: right;
    font-size: 0.9rem;
}

/* Contact Page */
.contact-hero {
    background: var(--gradient);
    padding: 150px 0 80px;
    text-align: center;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    color: white;
    margin-bottom: 20px;
}

.contact-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}


.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info > p {
    margin-bottom: 40px;
    color: var(--gray-color);
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method-details p, .method-details a {
    color: var(--gray-color);
}

.method-details a:hover {
    color: var(--primary-color);
}

.social-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background-color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 0 0 calc(50% - 10px);
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.contact-form .btn {
    margin-top: 20px;
    width: 100%;
}

.map-section {
    height: 450px;
}

.map-container {
    height: 100%;
}

.map-container iframe {
    border: none;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.popup:target {
    display: flex;
}

.popup-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: popupFade 0.3s ease;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 25px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero .container, .about-wrapper, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-image, .about-image {
        order: -1;
        margin-bottom: 50px;
    }
    
    .services-grid, .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .nav-list, .nav .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid, .work-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    
    .cta-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 20px;
    }
    
    .content-wrapper {
        padding: 30px;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .about-stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        min-width: 280px;
    }
}