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

:root {
    /* Color Palette */
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --background-light: #f9fafb;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Section Styling */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.section-description {
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

.section-description-other {
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: left;
    line-height: 1.6;
}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-light);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: 160px;
    width: auto;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast);
}

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

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
}

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

.nav-link-contact {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    font-weight: 600;
}

.nav-link-contact:hover {
    background-color: #1d4ed8;
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after:not(.nav-link-contact) {
    width: 100%;
}

.nav-link-contact::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 80px 0 var(--spacing-md);
    text-align: center;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-profile-image {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--background-white);
    box-shadow: var(--shadow-large);
    transition: transform var(--transition-normal);
}

.profile-image:hover {
    transform: scale(1.05);
}

.hero-title {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-size: clamp(1.85rem, 4vw, 2.85rem);
}

.hero-subtitle {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.145rem, 2vw, 1.27rem);
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background-color: var(--background-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    min-width: 200px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.stat-item:nth-child(1) .stat-number {
    color: var(--primary-color);
}

.stat-item:nth-child(2) .stat-number {
    color: var(--secondary-color);
}

.stat-item:nth-child(3) .stat-number {
    color: #8b5cf6;
}

.stat-item:nth-child(4) .stat-number {
    color: var(--accent-color);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    animation: bounce 2s infinite;
}

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

/* About Section */
.about {
    background-color: var(--background-light);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.about-left {
    background: linear-gradient(135deg, var(--background-white) 0%, #f8fafc 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.about-left::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.about-left > * {
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.about-cta {
    margin-top: var(--spacing-lg);
    text-align: left;
}

.about-left .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.about-left .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.about-right {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.about-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.why-choose-us {
    position: relative;
    z-index: 2;
}

.why-choose-us h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.why-choose-us h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(16, 185, 129, 0.3);
}

.benefits-list li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: var(--spacing-sm);
    background: rgba(16, 185, 129, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.skill-category {
    background-color: var(--background-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    min-height: 180px;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 1.25rem;
    font-weight: 600;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.skill-item {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.1;
    padding: 1px 0;
}

.skills-cta {
       text-align: center;
   }

.skills-cta .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Experience Timeline */
.experience {
    background-color: var(--background-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    align-items: start;
}

.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 30px;
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--background-light);
    box-shadow: 0 0 0 4px var(--primary-color);
    transition: all var(--transition-normal);
}

.timeline-item:hover::before {
    background-color: var(--secondary-color);
    box-shadow: 0 0 0 4px var(--secondary-color);
    transform: scale(1.2);
}

.timeline-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-logo {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 600;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--background-light);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.timeline-responsibilities {
    margin-top: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.timeline-item:hover .timeline-responsibilities {
    max-height: 300px;
    opacity: 1;
}

.timeline-responsibilities ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    padding-top: var(--spacing-sm);
}

.timeline-responsibilities li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.timeline-responsibilities li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.experience-cta {
    text-align: center;
}

.experience-cta .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Section */
.gallery {
    background-color: var(--background-light);
}

.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 60px;
}

.slider-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-large);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.slider-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--background-white);
    border: 2px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    color: var(--text-dark);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--spacing-xl);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    padding: 0;
}

.slider-dot:hover {
    background-color: var(--text-light);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.gallery-cta {
    text-align: center;
}

.gallery-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gallery-cta .btn svg {
    flex-shrink: 0;
}

/* Awards & Certifications Section */
.awards {
    background-color: var(--background-white);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.award-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.award-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.award-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: var(--background-white);
}

.award-image:hover .award-overlay {
    opacity: 1;
}

.award-content {
    padding: var(--spacing-md);
}

.award-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.award-issuer {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.awards-cta {
    text-align: center;
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cert-modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.cert-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background-color: var(--background-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-dark);
}

.cert-modal-close:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
    transform: rotate(90deg);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
}

.testimonials-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-container {
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.testimonial-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.testimonial-rating svg {
    width: 28px;
    height: 28px;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 8px;
}

.testimonial-info {
    text-align: center;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.testimonial-info p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-xl);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background-color: var(--text-light);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

.testimonials-cta {
    text-align: center;
}

.testimonials-cta .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonials-cta .btn svg {
    flex-shrink: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.project-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-content {
    padding: var(--spacing-md);
}

.project-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-size: 1.25rem;
}

.project-content p {
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.project-link:hover {
    color: var(--secondary-color);
}

.projects-cta {
    text-align: center;
}

.projects-cta .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Portfolio Gallery */
.portfolio-gallery {
    background-color: var(--background-light);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-cta {
    text-align: center;
}

.gallery-cta .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.award-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-normal);
    text-align: center;
}

.award-card:hover {
    transform: translateY(-4px);
}

.award-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

.awards-cta {
    text-align: center;
}

.awards-cta .btn {
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    min-height: 300px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all var(--transition-slow);
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background-color: var(--background-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.rating {
    margin-bottom: var(--spacing-md);
}

.rating {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.why-choose-us h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 0;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonials-cta {
    text-align: center;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.faq-item {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    position: relative;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-icon {
    position: absolute;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.faq-checkbox:checked + .faq-question .faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    color: var(--text-light);
}

.faq-cta {
    text-align: center;
}

.faq-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
    padding: 8px var(--spacing-sm);
    min-width: 130px;
}

.faq-cta .btn svg {
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    background-color: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-card {
    background-color: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--text-white);
    transition: transform var(--transition-normal);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-form-section {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    padding: var(--spacing-lg);
    text-align: center;
}

.form-header h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.5rem;
    color: var(--text-white);
}

.form-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
    color: var(--text-white);
}

.contact-form {
    padding: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.form-group label svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background-color: var(--background-white);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.response-time {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-light);
    font-size: 0.85rem;
}

.response-time svg {
    color: var(--secondary-color);
}

.form-buttons {
    display: flex;
    justify-content: center;
}

.form-buttons .btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    padding: var(--spacing-sm) var(--spacing-md);
    white-space: nowrap;
}

.form-buttons .btn svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-navigation {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-navigation a {
    color: var(--text-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-navigation a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    color: var(--text-white);
    transition: color var(--transition-fast);
    width: 24px;
    height: 24px;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .form-footer {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .form-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-left,
    .about-right {
        padding: var(--spacing-lg);
    }
    
    .about-text {
        text-align: left;
    }
    
    .about-text p:first-child::before {
        display: none;
    }
    
    .why-choose-us {
        padding: var(--spacing-lg);
    }
    
    .why-choose-us h3 {
        font-size: 1.25rem;
    }
    
    .benefits-list li {
        font-size: 0.95rem;
    }
    
    .logo {
        height: 32px;
        width: 128px;
    }
    
    .nav-link {
        padding: var(--spacing-xs);
    }
    
    .nav-link-contact {
        margin-top: var(--spacing-xs);
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-white);
        flex-direction: column;
        padding: var(--spacing-md);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 60vh;
        padding: 60px 0 var(--spacing-md);
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .gallery-slider {
        padding: 0 50px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-slide img {
        height: 300px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .testimonial-rating svg {
        width: 24px;
        height: 24px;
    }

    .cert-modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        flex-direction: column;
        padding: var(--spacing-md);
    }

    .timeline-item::before {
        left: -27px;
        top: 20px;
        width: 14px;
        height: 14px;
    }

    .timeline-logo {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-sm);
    }
    
    .testimonial-author {
        flex-direction: column;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-navigation {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding: 50px 0 var(--spacing-md);
        min-height: 50vh;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-item {
        padding: var(--spacing-sm);
        height: 65px;
        height: 70px;
        min-width: 160px;
    }
    
    .hero-buttons .btn {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-section {
        order: 1;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Apply animations to elements when they come into view */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.section-header {
    animation: fadeInUp 0.6s ease-out;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.hidden {
    display: none;
}

/* Focus Styles for Accessibility */
.btn:focus,
input:focus,
textarea:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-light: var(--text-dark);
        --border-color: var(--text-dark);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 999;
    text-decoration: none;
    color: white;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    .nav-toggle,
    .footer-social,
    .whatsapp-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .section-header {
        page-break-after: avoid;
    }
}

section {
    scroll-margin-top: 80px;
}

/* ============================================
   2. BACK TO TOP BUTTON STYLES
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    color: white;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   3. ACTIVE NAV LINK STATE
   ============================================ */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

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

/* ============================================
   4. MOBILE FIXES FOR HERO STATS
   ============================================ */
@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        max-width: 100%;
    }
    
    .stat-item {
        min-width: unset; /* Remove fixed min-width */
        width: 100%;
        height: auto;
        padding: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* ============================================
   5. BETTER MOBILE TYPOGRAPHY
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 3vw, 1.5rem);
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .section-description {
        font-size: 0.95rem;
    }
}

/* ============================================
   6. TIMELINE MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    /* Show responsibilities by default on mobile */
    .timeline-responsibilities {
        max-height: none;
        opacity: 1;
        margin-top: var(--spacing-sm);
    }
    
    .timeline-item {
        padding: var(--spacing-md);
    }
    
    .timeline-logo {
        width: 50px;
        height: 50px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content h4 {
        font-size: 0.95rem;
    }
    
    .timeline-responsibilities li {
        font-size: 0.85rem;
        padding-left: 20px;
    }
}

/* ============================================
   7. BUTTON RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .btn {
        font-size: 0.9rem;
        padding: 10px var(--spacing-md);
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        min-width: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   8. GALLERY SLIDER MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .gallery-slider {
        padding: 0 50px;
    }
    
    .slider-slide img {
        height: 250px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-slider {
        padding: 0 45px;
    }
    
    .slider-slide img {
        height: 200px;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   9. PREVENT HORIZONTAL SCROLL
   ============================================ */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 12px;
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 60px 0 var(--spacing-md);
    }
    
    .profile-image {
        width: 90px;
        height: 90px;
    }
}

/* ============================================
   10. CONTACT FORM MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }
    
    .form-buttons {
        width: 100%;
    }
    
    .form-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-section {
        order: 1;
    }
}

/* ============================================
   11. ABOUT SECTION MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-left,
    .about-right {
        padding: var(--spacing-lg);
    }
    
    .about-text p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .benefits-list li {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* ============================================
   12. SKILLS GRID MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .skill-category {
        min-height: auto;
    }
    
    .skill-item {
        font-size: 0.9rem;
    }
}

/* ============================================
   13. PROJECTS GRID MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .project-card {
        max-width: 100%;
    }
}

/* ============================================
   14. AWARDS GRID MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ============================================
   15. TESTIMONIALS MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .testimonial-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-rating svg {
        width: 22px;
        height: 22px;
    }
}

/* ============================================
   16. FAQ MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .faq-question {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 var(--spacing-md) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .faq-icon {
        right: var(--spacing-md);
    }
}

/* ============================================
   17. FOOTER MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer-brand {
        order: 1;
    }
    
    .footer-navigation {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .footer-social {
        order: 3;
        justify-content: center;
    }
}

/* ============================================
   18. WHATSAPP BUTTON MOBILE ADJUSTMENT
   ============================================ */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   19. NAVBAR MOBILE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        max-height: 0;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
        display: block;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* ============================================
   20. IMPROVED TOUCH TARGETS FOR MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Ensure all clickable elements are at least 44x44px */
    .btn,
    .nav-link,
    .slider-btn,
    .slider-dot,
    .testimonial-dot,
    .faq-question {
        min-height: 44px;
        min-width: 44px;
    }
    
    .slider-dot,
    .testimonial-dot {
        width: 16px;
        height: 16px;
    }
    
    .slider-dot.active {
        width: 40px;
    }
}

/* ============================================
   21. CERTIFICATE MODAL MOBILE
   ============================================ */
@media (max-width: 768px) {
    .cert-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .cert-modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   22. LOADING STATE STYLES
   ============================================ */
img[loading="lazy"] {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-color: #f3f4f6;
    }
    50% {
        background-color: #e5e7eb;
    }
    100% {
        background-color: #f3f4f6;
    }
}

.loading-skeleton {
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* ============================================
   23. IMPROVED FOCUS STATES FOR ACCESSIBILITY
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.btn:focus-visible {
    outline-offset: 4px;
}

/* ============================================
   24. PRINT STYLES IMPROVEMENTS
   ============================================ */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    .nav-toggle,
    .footer-social,
    .whatsapp-button,
    .back-to-top,
    .slider-btn,
    .slider-dots {
        display: none !important;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    .timeline-item {
        page-break-inside: avoid;
    }
}

/* ============================================
   FIX 1: ACHIEVEMENT GALLERY - IMAGES NOT VISIBLE
   ============================================ */

/* Desktop Gallery Fixes */
.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 60px; /* Space for navigation buttons */
}

.slider-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-large);
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
}

.slider-slide img {
    width: 100%;
    height: 450px; /* Increased height for better visibility */
    object-fit: cover;
    display: block;
}

/* Gallery Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 100;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-white);
    transform: translateY(-50%) scale(1.15);
}

.slider-btn-prev {
    left: 5px;
}

.slider-btn-next {
    right: 5px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

/* Gallery Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: var(--spacing-xl);
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    padding: 0;
}

.slider-dot:hover {
    background-color: var(--text-light);
    transform: scale(1.3);
}

.slider-dot.active {
    background-color: var(--primary-color);
    width: 36px;
    border-radius: 7px;
}

/* ============================================
   FIX 2: CLIENT TESTIMONIALS - CARDS NOT VISIBLE
   ============================================ */

/* Testimonials Container */
.testimonials-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonials-container {
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 10px; /* Small padding to prevent edge cutting */
}

/* Testimonial Card Styling */
.testimonial-card {
    background-color: var(--background-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    min-height: 400px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Testimonial Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.testimonial-rating svg {
    width: 30px;
    height: 30px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    flex-grow: 1;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.testimonial-info {
    text-align: center;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.testimonial-info p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Testimonial Dots Navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--spacing-xl);
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background-color: var(--text-light);
    transform: scale(1.3);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    width: 36px;
    border-radius: 7px;
}

/* ============================================
   FIX 3: HAMBURGER MENU NOT WORKING
   ============================================ */

/* Mobile Navigation - Complete Fix */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        z-index: 1001;
        padding: 8px;
        background: transparent;
        border: none;
    }
    
    .nav-toggle span {
        width: 28px;
        height: 3px;
        background-color: var(--text-dark);
        transition: all 0.3s ease-in-out;
        display: block;
        border-radius: 2px;
    }
    
    /* Hamburger Animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* Mobile Menu Positioning */
    .nav-menu {
        position: fixed;
        top: 60px; /* Below navbar */
        left: 0;
        right: 0;
        background-color: var(--background-white);
        flex-direction: column;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 20px 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 15px 20px;
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }
    
    .nav-link-contact {
        margin: 10px 20px;
        border-radius: var(--radius-md);
        display: inline-block;
        width: calc(100% - 40px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ============================================
   RESPONSIVE FIXES FOR GALLERY
   ============================================ */

@media (max-width: 1024px) {
    .slider-slide img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .gallery-slider {
        padding: 0 55px;
    }
    
    .slider-slide img {
        height: 280px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .slider-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .slider-btn-prev {
        left: 5px;
    }
    
    .slider-btn-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .gallery-slider {
        padding: 0 50px;
    }
    
    .slider-slide img {
        height: 220px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 375px) {
    .gallery-slider {
        padding: 0 45px;
    }
    
    .slider-slide img {
        height: 200px;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .slider-btn-prev {
        left: 3px;
    }
    
    .slider-btn-next {
        right: 3px;
    }
}

/* ============================================
   RESPONSIVE FIXES FOR TESTIMONIALS
   ============================================ */

@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .testimonial-avatar {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }
    
    .testimonial-rating svg {
        width: 26px;
        height: 26px;
    }
    
    .testimonial-info h4 {
        font-size: 1.1rem;
    }
    
    .testimonial-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        padding: 0 5px;
    }
    
    .testimonial-card {
        padding: 25px 15px;
        min-height: 320px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonial-rating {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .testimonial-rating svg {
        width: 22px;
        height: 22px;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-info p {
        font-size: 0.9rem;
    }
}

/* ============================================
   ADDITIONAL MOBILE NAVIGATION FIXES
   ============================================ */

@media (max-width: 768px) {
    /* Navbar height consistency */
    .navbar {
        height: auto;
        min-height: 60px;
    }
    
    .nav-container {
        padding: 12px var(--spacing-md);
    }
    
    /* Logo sizing */
    .logo {
        height: 36px;
        width: auto;
    }
    
    /* Prevent content jump when menu opens */
    .nav-menu {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
    }
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */

.slider-slide,
.testimonial-slide {
    transition: opacity 0.5s ease-in-out;
}

/* ============================================
   PREVENT CONTENT OVERFLOW
   ============================================ */

.gallery,
.testimonials {
    overflow: hidden;
}

.slider-container,
.testimonials-container {
    overflow: hidden;
    position: relative;
}

/* ============================================
   Z-INDEX MANAGEMENT
   ============================================ */

.navbar {
    z-index: 1000;
}

.nav-menu {
    z-index: 999;
}

.slider-btn {
    z-index: 100;
}

.whatsapp-button {
    z-index: 998;
}

.back-to-top {
    z-index: 997;
}