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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 150px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #76579e;
}

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

.social-link {
    color: #666;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #76579e;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #76579e 0%, #FBBF47 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    color: #76579e;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: #1e293b;
    color: white;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FBBF47;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Clients Section */
.clients {
    padding: 100px 0;
    background-color: #ffffff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-logo {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.client-logo img {
    max-width: 80%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-map {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
    border-radius: 8px;
    width: 100%;
    height: 400px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

.contact-item svg {
    color: #76579e;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    color: #FBBF47;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #f9d971;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header-content {
        justify-content: flex-start;
        align-items: center;
        padding: 0.5rem 0;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .logo {
        order: 2;
    }
    
    .social-links {
        order: 3;
        margin-left: auto;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1000;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0 2rem;
    }
    
    .nav-list li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .nav-list a:hover {
        color: #76579e;
    }
    
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map {
        order: -1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo-img {
        height: 40px;
        max-width: 120px;
    }
    
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-list a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .services, .clients, .about, .contact {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-logo {
        padding: 1rem;
        height: 80px;
    }
    
    .client-logo img {
        max-height: 40px;
    }
    
    .about-content {
        padding: 0 10px;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .contact-map {
        padding: 0.5rem;
    }
    
    .contact-map iframe {
        height: 300px;
    }
    
    .contact-info {
        padding: 0 10px;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.service-card,
.stat-item,
.client-logo {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-primary {
    color: #2563eb;
}

.text-secondary {
    color: #64748b;
}