/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nexa', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Brand Colors */
:root {
    --primary: #3949AB;
    --secondary: #4A90E2;
    --tertiary: #5BA3F5;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

#navMenu li a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s;
}

#navMenu li:hover {
    color: var(--primary);
}

#navMenu .menu-btn-primary a {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 10px 24px 8px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;    
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(57, 73, 171, 0.3);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary));
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 256px;
    height: 256px;
    background: rgba(255, 255, 255, 0.1);
    top: 25%;
    left: 25%;
    animation: float-1 20s infinite ease-in-out;
}

.hero-shape-2 {
    width: 384px;
    height: 384px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 25%;
    right: 25%;
    animation: float-2 15s infinite ease-in-out;
}

@keyframes float-1 {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(90deg);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: scale(1.2) rotate(90deg);
    }
    50% {
        transform: scale(1) rotate(0deg);
    }
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 5rem 1rem;
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-logo {
    height: 64px;
    width: auto;
    object-fit: cover;
    object-position: 0% 0%;
    max-height: 100px;
    clip-path: inset(0 0 35% 0);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
    .hero-logo {
        height: 80px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-logo {
        height: 96px;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 16px 32px 14px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-white:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 16px 32px 14px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
    .stat-label {
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.75rem;
}

.service-card:hover .service-gradient {
    opacity: 1;
}

.service-content {
    position: relative;
    z-index: 10;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.service-icon svg {
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: white;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    transition: color 0.3s;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .about-content h2 {
        font-size: 3rem;
    }
}

.about-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon svg {
    color: white;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.stats-banner {
    margin-top: 5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 1rem;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
    color: white;
}

@media (min-width: 768px) {
    .stats-banner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-box .stat-number {
        font-size: 3rem;
    }
}

.stat-box .stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 640px) {
    .stat-box .stat-label {
        font-size: 1rem;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: var(--gray-50);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-8px);
}

.portfolio-image {
    height: 256px;
    border-radius: 0.75rem 0.75rem 0 0;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.gradient-purple-pink {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.gradient-blue-cyan {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.gradient-green-teal {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.gradient-orange-red {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.gradient-indigo-purple {
    background: linear-gradient(135deg, #6366f1, #a855f7);
}

.gradient-pink-rose {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.portfolio-card:hover .portfolio-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-link-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-link-icon {
    opacity: 1;
}

.portfolio-link-icon svg {
    color: var(--primary);
}

.portfolio-info {
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.portfolio-category {
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--gray-600);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 13px 20px 9px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: white;
}

.contact-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--primary);
}

.contact-details p {
    color: var(--gray-600);
}

.business-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.75rem;
    color: white;
}

.business-hours h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.business-hours p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.contact-form-wrapper label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Nexa', sans-serif;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.1);
}

.contact-form-wrapper textarea {
    resize: none;
}

.contact-form-wrapper input[type="submit"] {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
     gap: 0.5rem;
    font-size: 14px;
}


.btn-full {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.social-links svg {
    color: white;
}

.footer-col h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-family: 'Nexa', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-form button {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    box-shadow: 0 5px 15px rgba(57, 73, 171, 0.4);
}

.newsletter-form button svg {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu active state */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}