/* Global Styles */
:root {
    --primary-color: #0d3da5;
    --primary-dark: #0c1a43;
    --secondary-color: #7c3aed;
    --dark-color: #1e293b; /* Header/Footer color */
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 61, 165, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--dark-color);
    color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: var(--nav-height);
}

header.scrolled {
    height: 70px;
    background-color: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--warning-color);
    margin-right: 5px;
}

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

.nav-menu ul li {
    margin-left: 30px;
    position: relative;
}

.nav-menu ul li a {
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu ul li a:hover {
    color: var(--warning-color);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--warning-color);
    transition: var(--transition);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 50px) 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

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

/* Services Section */
.services {
    background-color: #f8fafc;
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
}

/* Client Logos Section */
.clients {
    background-color: white;
    padding: 60px 0;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
    transform: scale(0.9);
}

.client-logo.animate {
    opacity: 0.6;
    filter: grayscale(100%);
    transform: scale(1);
}

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

.client-logo img {
    max-height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid var(--gray-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item.animate {
    opacity: 1;
    transform: scale(1);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.portfolio-link {
    display: inline-block;
    margin-top: 15px;
    color: white;
    font-weight: 600;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateX(-50px);
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    background-color: #f8fafc;
}

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

.skill-category {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(30px);
}

.skill-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-category h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.skill-item:hover img {
    transform: scale(1.1);
}

.skill-item span {
    font-size: 0.9rem;
    text-align: center;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.team-member.animate {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.team-member:hover .social-links {
    bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(360deg);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
}

.member-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.blog-card.animate {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blog-content h3 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Testimonials Section */
.testimonials {
    background-color: #f8fafc;
}

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

.testimonial {
    display: none;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p::before {
    top: -15px;
    left: -10px;
}

.testimonial-content p::after {
    bottom: -25px;
    right: -10px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

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

.client-info h4 {
    margin-bottom: 5px;
    text-align: left;
}

.client-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-align: left;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.prev-testimonial, .next-testimonial {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-testimonial:hover, .next-testimonial:hover {
    color: var(--primary-color);
    background-color: #e0f2fe;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
}

.contact-info.animate {
    opacity: 1;
    transform: translateX(0);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0f2fe;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateX(50px);
}

.contact-form.animate {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 61, 165, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-newsletter p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter input::placeholder {
    color: #94a3b8;
}

.footer-newsletter button {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--primary-dark);
}

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

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero .container,
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image,
    .about-image,
    .about-text,
    .contact-info,
    .contact-form {
        flex: none;
        width: 100%;
    }
    
    .hero-image,
    .about-image {
        margin-top: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
    }
    
    .nav-menu ul.active {
        left: 0;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
        font-size: 1.8rem;
    }

    .nav-menu ul li a:hover {
        color: var(--warning-color);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --nav-height: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Animation Classes */
.animate__animated {
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__pulse {
    animation-name: pulse;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 20px;
    color: white;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--warning-color);
    transform: rotate(30deg);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #0f172a;
    color: #e2e8f0;
}

body.dark-mode .service-card,
body.dark-mode .testimonial,
body.dark-mode .contact-form,
body.dark-mode .blog-card,
body.dark-mode .skill-category {
    background-color: #1e293b;
    color: #e2e8f0;
}

body.dark-mode .btn-secondary {
    background-color: transparent;
    color: #e2e8f0;
    border-color: #e2e8f0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #334155;
    color: #e2e8f0;
    border-color: #475569;
}

body.dark-mode .section-header h2,
body.dark-mode .blog-content h3 a {
    color: #e2e8f0;
}

#trusted {
    /* color: var(--primary-dark); */
    color: #1c457b;
}

body.dark-mode .hero,
body.dark-mode .services,
body.dark-mode .testimonials,
body.dark-mode .skills {
    background-color: #0f172a;
}

body.dark-mode .filter-btn {
    background-color: #1e293b;
    color: #e2e8f0;
    border-color: #475569;
}

body.dark-mode .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}




/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.timeline-date {
    position: absolute;
    width: 120px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -140px;
    top: 15px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -140px;
    top: 15px;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h4 {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.timeline-content ul {
    margin-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.education-date {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.education-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.education-card h4 {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 1rem;
}

.education-card ul {
    margin-left: 20px;
}

.education-card li {
    margin-bottom: 8px;
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: auto;
        right: auto;
        top: -30px;
        left: 70px;
    }
}


/* Mobile Menu Styles */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }
    
    .nav-menu ul {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu ul.active {
        left: 0;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
}


/* Better touch targets for mobile */
@media (max-width: 768px) {
    .btn {
        padding: 15px 25px;
    }
    
    .nav-menu ul li a {
        padding: 10px 15px;
        display: block;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 15px;
    }
    
    .portfolio-item {
        margin-bottom: 20px;
    }
}


/* WhatsApp Float - Customized to your theme */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color); /* Matches your theme */
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #25D366; /* WhatsApp brand color on hover */
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    width: max-content;
    background: var(--dark-color);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on mobile */
    }
}


/* WhatsApp Button Styles */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.3);
}

/* Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* End of CSS */
/* End of styles.css */


/* Online Dot Animation */
.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}