/* Base Styles */
:root {
    --primary: #0F172A;
    --secondary: #3B82F6;
    --background: #F8FAFC;
    --text: #1E293B;
    --accent: #22C55E;
    --white: #FFFFFF;
    --gray-light: #E2E8F0;
    --gray-medium: #94A3B8;
    --gray-dark: #475569;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --rounded-sm: 0.125rem;
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;
    --rounded-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--rounded-lg);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-link {
    color: var(--secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-link:hover {
    color: #2563EB;
    gap: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50%;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--rounded-full);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    max-width: 600px;
}

.text-center {
    text-align: center;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo img {
    height: 2rem;
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary);
    color: var(--white);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-light);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 10px;
    background-color: var(--white);
    margin: 2px 0;
    opacity: 0.6;
    animation: scrollPulse 2s infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

/* Portfolio Section */
.portfolio-preview {
    padding: 6rem 0;
    background-color: var(--background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    /* margin-bottom: rem; */
}

.portfolio-preview .text-center {
    /* margin-top: 2rem; */
    padding-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--gray-light);
    margin-bottom: 1rem;
}

/* About Section */
.about-preview {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--background);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-dark);
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--gray-light);
    line-height: 1;
}

.testimonial-author h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta .btn {
    background-color: var(--white);
    color: var(--secondary);
}

.cta .btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 300px;
}

.footer-about .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 0.25rem;
}

.footer-contact h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    font-size: 0.875rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 100px;
    height: 100px;
    animation: pulse 1.5s infinite;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-preview .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        transition: all 0.3s ease;
        padding: 6rem 2rem 2rem;
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animations */
@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.2;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Services Page Styles */
.page-hero {
    background-color: var(--primary);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.service-content ul {
    margin-bottom: 2rem;
}

.service-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: var(--rounded-full);
}

.service-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-stack span {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--rounded-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.tech-stack.square span {
    border-radius: var(--rounded-md);
}

.design-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.principle {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.design-principles.square .principle {
    border-radius: var(--rounded-md);
}

.principle h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.principle p {
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.process {
    padding: 4rem 0;
    background-color: var(--background);
}

.process h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step p {
    color: var(--gray-dark);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        order: -1;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--secondary);
    font-weight: 500;
}

.social-links {
    margin-top: 3rem;
}

.social-links h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-links .links {
    display: flex;
    gap: 1rem;
}

.social-links .links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    transition: all 0.3s ease;
}

.social-links .links a:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--rounded-md);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--rounded-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.map-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

/* Portfolio Page Styles */
.portfolio-filter {
    padding: 2rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-light);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    border: 1px solid var(--gray-light);
    border-radius: var(--rounded-full);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.filter-btn.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.portfolio-grid-section {
    padding: 4rem 0;
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    background-color: var(--gray-light);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.modal-images img {
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow-sm);
}

.modal-details h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-details .project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-meta span {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--rounded-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.modal-details h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.project-features {
    margin-bottom: 1.5rem;
}

.project-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: var(--rounded-full);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.project-links a {
    padding: 0.75rem 1.5rem;
    border-radius: var(--rounded-lg);
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-links .btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.project-links .btn-primary:hover {
    background-color: #2563EB;
}

.project-links .btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.project-links .btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-images {
        order: -1;
    }
}

/* About Page Styles */
.our-story {
    padding: 6rem 0;
}

.our-story .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.story-content {
    width: 100%;
}

.story-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
    line-height: 1.7;
}

.values {
    padding: 6rem 0;
    background-color: var(--background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-dark);
    font-size: 0.9375rem;
}

.team {
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: var(--rounded-full);
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 5px solid rgba(59, 130, 246, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: var(--gray-dark);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.team-member .social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-member .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: var(--rounded-full);
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    transition: all 0.3s ease;
}

.team-member .social-links a:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.stats {
    padding: 4rem 0;
    background-color: var(--primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .our-story .container {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        order: 2;
    }
    
    .story-image {
        order: 1;
    }
}

/* Packages Section Styles */
.packages {
    padding: 6rem 0;
    background-color: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.package-header h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.price::before {
    content: '$';
    font-size: 2rem;
    vertical-align: top;
}

.package-content {
    margin-bottom: 2rem;
}

.package-description {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

.package-badge {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--rounded-md);
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-badge i {
    color: var(--accent);
    font-size: 1.25rem;
}

.package-badge span {
    font-size: 0.875rem;
    color: var(--gray-dark);
    line-height: 1.4;
}

.package-footer {
    text-align: center;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--rounded-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.escrow-info {
    margin-top: 4rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.escrow-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.escrow-info p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Package Tabs Styles */
.package-tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--rounded-full);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-dark);
}

.tab-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.tab-btn.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-package-link {
    text-align: center;
    margin-top: 3rem;
}

.custom-package-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Packages */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card {
        padding: 2rem;
    }

    .package-card.featured {
        transform: none;
    }

    .package-card.featured:hover {
        transform: translateY(-5px);
    }

    .price {
        font-size: 2.5rem;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .packages {
        padding: 4rem 0;
    }

    .package-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* Privacy Policy and Terms of Service Styles */
.privacy-policy,
.terms-of-service {
    padding: 4rem 0;
    background-color: var(--white);
}

.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section,
.terms-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.policy-section:hover,
.terms-section:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.policy-section h2,
.terms-section h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.policy-section h2::after,
.terms-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--rounded-full);
}

.policy-section h3,
.terms-section h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.policy-section p,
.terms-section p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.policy-section ul,
.terms-section ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.policy-section ul li,
.terms-section ul li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--gray-dark);
    line-height: 1.6;
    padding-left: 1rem;
}

.policy-section ul li::before,
.terms-section ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: var(--rounded-full);
}

.policy-section ul li strong,
.terms-section ul li strong {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive for Privacy Policy and Terms */
@media (max-width: 768px) {
    .privacy-policy,
    .terms-of-service {
        padding: 2rem 0;
    }

    .policy-content,
    .terms-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .policy-section,
    .terms-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .policy-section h2,
    .terms-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3,
    .terms-section h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .policy-section,
    .terms-section {
        padding: 1rem;
    }

    .policy-section h2,
    .terms-section h2 {
        font-size: 1.25rem;
    }
}

/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.faq-category {
    background-color: var(--background);
    border-radius: var(--rounded-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-category:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.faq-category h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.faq-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--rounded-full);
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin: 0;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: bold;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rounded-full);
    background-color: rgba(59, 130, 246, 0.1);
}

.faq-item.active .faq-toggle {
    background-color: var(--secondary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 1.5rem;
}

.faq-answer p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.faq-answer ul li,
.faq-answer ol li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.faq-answer ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: var(--rounded-full);
}

.faq-answer ol {
    counter-reset: faq-counter;
}

.faq-answer ol li {
    counter-increment: faq-counter;
}

.faq-answer ol li::before {
    content: counter(faq-counter) '.';
    position: absolute;
    left: -1.5rem;
    top: 0;
    color: var(--secondary);
    font-weight: 600;
    width: 20px;
    text-align: center;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

.faq-cta {
    text-align: center;
    background-color: var(--background);
    border-radius: var(--rounded-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
}

.faq-cta h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.faq-cta p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 0;
    }

    .faq-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .faq-category {
        padding: 1.5rem;
    }

    .faq-category h2 {
        font-size: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-cta {
        padding: 2rem 1.5rem;
    }

    .faq-cta h2 {
        font-size: 1.75rem;
    }

    .faq-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-category {
        padding: 1rem;
    }

    .faq-category h2 {
        font-size: 1.25rem;
    }

    .faq-question {
        padding: 1rem 0;
    }

    .faq-question h3 {
        font-size: 0.9375rem;
    }

    .faq-cta {
        padding: 1.5rem 1rem;
    }

    .faq-cta h2 {
        font-size: 1.5rem;
    }
}
