/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #667eea;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.nav-logo span {
    color: #666;
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
}

.credentials {
    margin-top: 2rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.credential i {
    color: #667eea;
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.service-card li:before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.date {
    color: #999;
}

.category {
    color: #667eea;
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
}

.about-hero .section-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.about-hero .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
}

.contact-hero .section-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.contact-hero .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #667eea;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Container */
.map-container {
    margin-top: 3rem;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.map-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
    color: white;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 15px 30px;
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .specializations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
        font-size: 2.5rem;
    }

    .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 2rem;
    }

    .service-card,
    .blog-card,
    .approach-card,
    .specialization-item,
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .timeline-year {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0 15px;
    }

    /* Mobile-specific spacing */
    .container {
        padding: 0 15px;
    }

    .about,
    .services,
    .blog,
    .contact,
    .approach,
    .specializations,
    .education,
    .faq {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta-content {
        padding: 0 15px;
    }

    /* Mobile navigation improvements */
    .nav-container {
        padding: 0 15px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .nav-logo span {
        font-size: 0.8rem;
    }

    /* Mobile hero improvements */
    .about-hero,
    .contact-hero {
        padding: 100px 0 60px;
    }

    /* Mobile map improvements */
    #map {
        height: 300px;
    }

    .map-info {
        margin-top: 1rem;
        padding: 1rem;
    }

    /* Mobile button improvements */
    .hero-buttons .btn {
        margin: 0.5rem 0;
    }

    /* Mobile form improvements */
    .contact-form h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Mobile service card improvements */
    .service-card ul {
        text-align: left;
        padding-left: 1rem;
    }

    .service-card li {
        margin-bottom: 0.5rem;
    }

    /* Mobile blog improvements */
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    /* Mobile credential improvements */
    .credentials {
        gap: 1rem;
    }

    .credential {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .credential i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .about-hero,
    .contact-hero {
        padding: 80px 0 40px;
    }

    .hero-container {
        gap: 1.5rem;
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .service-card,
    .blog-card,
    .approach-card,
    .specialization-item,
    .faq-item {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-item {
        padding: 0.5rem;
    }

    .contact-item i {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .about,
    .services,
    .blog,
    .contact,
    .approach,
    .specializations,
    .education,
    .faq {
        padding: 40px 0;
    }

    .cta {
        padding: 40px 0;
    }

    .hero-placeholder {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }

    .image-placeholder {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }

    .nav-logo h2 {
        font-size: 1.1rem;
    }

    .nav-logo span {
        font-size: 0.7rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    #map {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-section {
        padding: 0 10px;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .timeline-year {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .approach-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .specialization-item i {
        font-size: 1.5rem;
    }

    .blog-image {
        height: 150px;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-meta {
        font-size: 0.8rem;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-content p {
        font-size: 0.9rem;
    }

    .read-more {
        font-size: 0.9rem;
    }

    .credentials {
        gap: 0.8rem;
    }

    .credential {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .credential i {
        font-size: 1.2rem;
    }

    .credential span {
        font-size: 0.9rem;
    }

    .map-info p {
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .faq-item h4 {
        font-size: 1.1rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }
}

/* Active Navigation Link */
.nav-link.active {
    color: #667eea;
    font-weight: 600;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hero Animations */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Service Card Animations */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Blog Card Animations */
.blog-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

/* Form Animations */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* Navigation Animations */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Page Transition Animations */
.page-transition {
    animation: pageFadeIn 0.8s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Specialization Item Animations */
.specialization-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.specialization-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.specialization-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #764ba2;
}

.specialization-item i {
    transition: all 0.3s ease;
}

/* Timeline Animations */
.timeline-item {
    transition: all 0.4s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-year {
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* FAQ Item Animations */
.faq-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-item:hover h4 {
    color: #764ba2;
}

/* Map Placeholder Animation */
.map-placeholder {
    animation: pulse 2s infinite, fadeIn 1s ease-out;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading Animation for Form */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile-specific touch improvements */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    input, select, textarea {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Improve card touch interactions */
    .service-card,
    .blog-card,
    .approach-card,
    .specialization-item,
    .faq-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improve navigation touch */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Prevent text selection on interactive elements */
    .btn,
    .nav-link,
    .hamburger {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Improve form usability on mobile */
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    /* Improve button spacing on mobile */
    .hero-buttons {
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        margin: 0.3rem 0;
    }
    
    /* Improve card spacing */
    .services-grid,
    .blog-grid,
    .approach-grid,
    .specializations-grid,
    .faq-grid {
        gap: 1rem;
    }
    
    /* Improve text readability */
    p {
        line-height: 1.6;
    }
    
    /* Improve list readability */
    .service-card ul {
        padding-left: 1.2rem;
    }
    
    .service-card li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    /* Improve contact info spacing */
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.5);
    }
    
    /* Improve map container */
    .map-container {
        margin-top: 2rem;
    }
    
    #map {
        border-radius: 15px;
    }
    
    /* Improve footer spacing */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    /* Improve section spacing */
    .section-header {
        padding: 0 1rem;
    }
    
    /* Improve hero content spacing */
    .hero-content {
        padding: 0 1rem;
    }
    
    /* Improve about content spacing */
    .about-content {
        padding: 0 1rem;
    }
    
    /* Improve contact content spacing */
    .contact-content {
        padding: 0 1rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Loading animation for map placeholder */
.map-placeholder {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Form validation styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e74c3c;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #27ae60;
}

/* Success message styles */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
}

/* Error message styles */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid #f5c6cb;
}

/* Approach Section */
.approach {
    padding: 80px 0;
    background: #fff;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.approach-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
}

.approach-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Specializations Section */
.specializations {
    padding: 80px 0;
    background: #f8f9fa;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialization-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.specialization-item:hover {
    transform: translateY(-5px);
}

.specialization-item i {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.specialization-item h4 {
    color: #333;
    margin-bottom: 1rem;
}

/* Education Section */
.education {
    padding: 80px 0;
    background: #fff;
}

.education-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}

.timeline-year {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
}

.timeline-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.cta .btn-primary:hover {
    background: transparent;
    color: white;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    margin-bottom: 0;
}

/* Map Info */
.map-info {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.map-info p:last-child {
    margin-bottom: 0;
}
