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

:root {
    /* YAB Brand Colors - Based on Logo */
    --yab-primary: #2E5F8A;      /* Main blue from logo */
    --yab-primary-light: #4A7BA7; /* Lighter shade */
    --yab-primary-dark: #1E4A6F;  /* Darker shade */
    --yab-secondary: #5A9BD4;     /* Lighter blue accent */
    --yab-accent: #87CEEB;        /* Light blue accent */
    
    /* Neutral Colors */
    --yab-white: #FFFFFF;
    --yab-light-gray: #F8F9FA;
    --yab-gray: #6C757D;
    --yab-dark-gray: #495057;
    --yab-dark: #212529;
    
    /* Gradients */
    --yab-gradient-primary: linear-gradient(135deg, var(--yab-primary) 0%, var(--yab-secondary) 100%);
    --yab-gradient-light: linear-gradient(135deg, var(--yab-secondary) 0%, var(--yab-accent) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--yab-dark);
    background-color: var(--yab-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--yab-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--yab-gradient-primary);
    color: var(--yab-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(46, 95, 138, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--yab-primary);
    border: 2px solid var(--yab-primary);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--yab-dark);
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--yab-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--yab-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--yab-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--yab-gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgba(46, 95, 138, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--yab-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--yab-light-gray) 0%, #E3F2FD 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--yab-dark);
}

.highlight {
    background: var(--yab-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--yab-gray);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(46, 95, 138, 0.1));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    color: var(--yab-primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Service Highlights */
.service-highlights {
    padding: 5rem 0;
    background: white;
}

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

.highlight-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.8s ease, box-shadow 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--yab-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--yab-white);
}

.highlight-card h3 {
    margin-bottom: 1rem;
    color: var(--yab-dark);
}

.highlight-card p {
    color: var(--yab-gray);
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--yab-gray);
    margin-top: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--yab-light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-story, .about-mission, .about-vision {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.about-differentiators {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.differentiator-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.differentiator-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.differentiator-item i {
    color: var(--yab-primary);
    font-size: 1.25rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease, box-shadow 0.9s ease;
    border: 1px solid #f0f0f0;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--yab-gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--yab-white);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--yab-dark);
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--yab-gray);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--yab-gray);
}

.service-features i {
    color: var(--yab-primary);
    width: 16px;
}

.service-tech, .service-methodology, .service-standards, .service-approach {
    margin-top: 1rem;
}

.tech-tag {
    display: inline-block;
    background: rgba(46, 95, 138, 0.1);
    color: var(--yab-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--yab-light-gray);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--yab-primary);
    background: transparent;
    color: var(--yab-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--yab-primary);
    color: var(--yab-white);
}

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

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 95, 138, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-btn {
    background: var(--yab-white);
    color: var(--yab-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-btn:hover {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--yab-dark);
}

.project-info p {
    margin-bottom: 1rem;
    color: var(--yab-gray);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-card.active {
    display: block;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--yab-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--yab-dark);
}

.author-info span {
    color: var(--yab-primary);
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-dot.active {
    background: var(--yab-primary);
}

/* Clients Section */
.clients {
    padding: 3rem 0;
    background: #f8f9fa;
}

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

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

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


/* Team Section */
.team {
    padding: 5rem 0;
    background: white;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(46, 95, 138, 0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--yab-dark);
}

.member-role {
    color: var(--yab-primary);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.member-bio {
    margin-bottom: 1.5rem;
    color: var(--yab-gray);
    line-height: 1.6;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.member-links{
    margin-top: 1rem;
    align-items: center;
}
.portfolio-link{
    text-decoration: none;
    list-style-type: none;
}
.direct-link-portifolio{
    color: var(--yab-secondary);
    font-weight: bold;
    text-decoration: none;
    &:hover {
        color: var(--yab-primary);
    }
    &:visited {
        color: var(--yab-secondary);
    }
    &:hover {
        color: var(--yab-primary);
    }
}


.expertise-tag {
    background: rgba(46, 95, 138, 0.1);
    color: var(--yab-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--yab-light-gray);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--yab-gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--yab-white);
    font-size: 1.25rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--yab-dark);
}

.contact-details p {
    color: var(--yab-gray);
    margin: 0;
}

.contact-map {
    margin-top: 2rem;
}

.contact-map h3 {
    margin-bottom: 1rem;
    color: var(--yab-dark);
    font-size: 1.1rem;
}

.contact-map .map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(46, 95, 138, 0.1);
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(25, 25, 26, 0.26);
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--yab-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yab-primary);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.map-container {
    margin-top: 3rem;
}

.map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 32px;
    margin-right: 8px;
    flex-shrink: 0;
}

.footer-logo .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--yab-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--yab-white); /* Fallback for browsers that don't support background-clip */
}

.footer-description {
    margin-bottom: 1.5rem;
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--yab-primary);
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section .contact-info i {
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}
.footer-logo-img{
    width: 40px;
    margin-right: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex !important;
        z-index: 1001;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
    }

    .hero-graphic {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-svg {
        max-width: 280px;
    }

    /* Service Highlights */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .highlight-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .highlight-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .highlight-icon i {
        font-size: 1.5rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-story, .about-mission, .about-vision, .about-differentiators {
        padding: 1.5rem;
        margin: 0 10px;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    /* Projects Section */
    .project-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        padding: 0 15px;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-width: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .project-card {
        margin: 0 5px;
    }

    .project-image {
        height: 180px;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 1.1rem;
    }

    /* Clients Section */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 15px;
    }

    .client-logo {
        padding: 0.75rem;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    /* Team Section */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .team-member {
        padding: 1.5rem;
        margin: 0 5px;
    }

    .member-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
        padding: 0 10px;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

    .contact-map {
        margin-top: 1.5rem;
    }

    .contact-map .map {
        height: 200px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: start;
    }

    .footer-section {
        padding: 0 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        gap: 1rem;
    }

    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }

    .section-header {
        margin-bottom: 3rem;
        padding: 0 15px;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
        max-height: 85vh;
    }

    .close {
        right: 0.5rem;
        top: 0.5rem;
        font-size: 1.5rem;
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        gap: 3rem;
        padding: 1rem 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-graphic {
        max-width: 350px;
    }

    .hero-svg {
        max-width: 320px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        top: 65px;
        padding: 1.5rem 0;
    }

    .nav-container {
        padding: 0 10px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 70px;
    }

    .hero-container {
        padding: 1rem 10px;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        padding: 0 5px;
        line-height: 1.5;
    }

    .hero-graphic {
        max-width: 250px;
    }

    .hero-svg {
        max-width: 220px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 220px;
        border-radius: 8px;
    }

    /* Service Highlights */
    .service-highlights {
        padding: 2.5rem 0;
    }

    .highlights-grid {
        gap: 1rem;
        padding: 0 5px;
    }

    .highlight-card {
        padding: 1.25rem;
        margin: 0 5px;
    }

    .highlight-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .highlight-icon i {
        font-size: 1.25rem;
    }

    .highlight-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .highlight-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* About Section */
    .about {
        padding: 2.5rem 0;
    }

    .about-story, .about-mission, .about-vision, .about-differentiators {
        padding: 1.25rem;
        margin: 0 5px;
    }

    .about-story h3, .about-mission h3, .about-vision h3, .about-differentiators h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .about-story p, .about-mission p, .about-vision p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .differentiator-item {
        gap: 0.75rem;
    }

    .differentiator-item i {
        font-size: 1rem;
    }

    .differentiator-item span {
        font-size: 0.9rem;
    }

    /* Services Section */
    .services {
        padding: 2.5rem 0;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
        margin: 0 5px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .service-icon i {
        font-size: 1.25rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
        margin: 0.15rem 0.15rem 0.15rem 0;
    }

    /* Projects Section */
    .projects {
        padding: 2.5rem 0;
    }

    .project-filters {
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
        padding: 0 10px;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
        min-width: auto;
        white-space: nowrap;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 5px;
    }

    .project-card {
        margin: 0;
    }

    .project-image {
        height: 160px;
    }

    .project-info {
        padding: 1.25rem;
    }

    .project-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .project-info p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    /* Testimonials */
    .testimonials {
        padding: 2.5rem 0;
    }

    .testimonials-slider {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info span {
        font-size: 0.85rem;
    }

    /* Clients Section */
    .clients {
        padding: 2rem 0;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 10px;
    }

    .client-logo {
        padding: 0.5rem;
    }

    .client-logo img {
        max-width: 80px;
        max-height: 40px;
    }

    /* Team Section */
    .team {
        padding: 2.5rem 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 5px;
    }

    .team-member {
        padding: 1.25rem;
        margin: 0;
    }

    .member-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
        border-width: 3px;
    }

    .member-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .member-role {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .member-bio {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .expertise-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
        margin: 0.15rem 0.15rem 0.15rem 0;
    }

    /* Contact Section */
    .contact {
        padding: 2.5rem 0;
    }

    .contact-info {
        gap: 1.25rem;
        padding: 0 5px;
    }

    .contact-item {
        gap: 0.75rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .contact-icon i {
        font-size: 1rem;
    }

    .contact-details h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .contact-details p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contact-form-container {
        padding: 1.5rem 1.25rem;
        margin: 0 5px;
    }

    .form-group {
        gap: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .contact-map {
        margin-top: 1.25rem;
    }

    .contact-map h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .contact-map .map {
        height: 180px;
        border-radius: 8px;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: start;
    }

    .footer-section {
        padding: 0 10px;
    }

    .footer-logo .logo-text {
        font-size: 1.2rem;
    }

    .footer-description {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .footer-section .contact-info p {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding-top: 0.75rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        margin: 0;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }

    .section-header {
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        margin: 15% auto 5%;
        padding: 1.25rem;
        max-height: 80vh;
        border-radius: 10px;
    }

    .close {
        right: 0.75rem;
        top: 0.75rem;
        font-size: 1.25rem;
    }

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

    .mobile-full-width {
        width: 100%;
    }

    .mobile-hidden {
        display: none;
    }

    .mobile-block {
        display: block;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--yab-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}

/* client-image */

.client-bunaByte {
    border-radius: 30px;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

#popup-close {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background: #2E5F8A;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}


/* 404 Specific Styles */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--yab-light-gray) 0%, #E3F2FD 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
  }

  .error-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .error-content {
    text-align: left;
  }

  .error-code {
    font-size: 8rem;
    font-weight: 700;
    background: var(--yab-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .error-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--yab-dark);
  }

  .error-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--yab-gray);
    line-height: 1.6;
  }

  .error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .error-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .error-graphic {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .error-icon {
    font-size: 15rem;
    color: hsl(0, 100%, 50%);
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
  }

  .suggestions {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
  }

  .suggestions h3 {
    color: var(--yab-dark);
    margin-bottom: 1rem;
  }

  .suggestions ul {
    list-style: none;
    padding: 0;
  }

  .suggestions li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--yab-gray);
  }

  .suggestions li i {
    color: var(--yab-primary);
    width: 16px;
  }

  .suggestions a {
    color: var(--yab-primary);
    text-decoration: none;
    font-weight: 500;
  }

  .suggestions a:hover {
    text-decoration: underline;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .error-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2rem;
      padding: 2rem 15px;
    }

    .error-content {
      text-align: center;
    }

    .error-code {
      font-size: 6rem;
    }

    .error-title {
      font-size: 2rem;
    }

    .error-description {
      font-size: 1.1rem;
    }

    .error-actions {
      justify-content: center;
      flex-direction: column;
      align-items: center;
    }

    .error-actions .btn {
      width: 100%;
      max-width: 280px;
    }

    .error-icon {
      font-size: 10rem;
    }

    .suggestions {
      margin: 2rem 10px 0;
      padding: 1.5rem;
    }
  }

  @media (max-width: 480px) {
    .error-code {
      font-size: 4rem;
    }

    .error-title {
      font-size: 1.5rem;
    }

    .error-description {
      font-size: 1rem;
    }

    .error-icon {
      font-size: 8rem;
    }

    .suggestions {
      margin: 1.5rem 5px 0;
      padding: 1.25rem;
    }
  }