/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

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

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #aacadb;
}
.hero h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #aacadb;
}
.hero p {
    font-size: 1.1rem;
    color:  #aacadb;
    margin-bottom: 2rem;
    max-height: 250px;
    overflow-y: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

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

.project-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background-color: white;
}

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

.about h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

.submit-button {
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2980b9;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        height: 100vh;
        top: 0;
        background-color: #f8f9fa;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transition: right 0.5s ease-in;
        -webkit-transition: right 0.5s ease-in;
        z-index: 1000;
        padding-top: 80px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 1;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        color: #1a1a1a;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        padding: 0.5rem 1rem;
        display: block;
        transition: color 0.3s ease;
        -webkit-transition: color 0.3s ease;
    }

    .nav-links a:hover {
        color: #3498db;
    }

    .nav-links .active {
        color: #3498db;
    }

    .nav-active {
        right: 0;
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        -webkit-transform: rotate(-45deg) translate(-5px, 6px);
        background-color: #3498db;
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        -webkit-transform: rotate(45deg) translate(-5px, -6px);
        background-color: #3498db;
    }

    .language-selector {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 1rem 0;
        width: 100%;
        text-align: center;
        z-index: 1002;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Safari Mobile specific fixes */
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 768px) {
        .nav-links {
            right: -100%;
            transform: none;
            -webkit-transform: none;
        }
        
        .nav-active {
            right: 0;
            transform: none;
            -webkit-transform: none;
        }
    }
}

.language-selector {
    margin-left: 2rem;
}

.language-selector select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    color: #2c3e50;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: #3498db;
}

.language-selector select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

@media screen and (max-width: 768px) {
    .language-selector {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .language-selector select {
        width: 100%;
        max-width: 200px;
    }
}

/* Projects Section */
.projects {
    padding: 5rem 2rem;
    background-color: #f9f9f9;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #2980b9;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

.back-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #1a252f;
}

@media screen and (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Tenor GIF Embed Styles */
.tenor-gif-embed {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    background: transparent;
}

.tenor-gif-embed iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 800px;
    border: none;
    border-radius: 0px;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* iOS Safari specific fix */
@supports (-webkit-touch-callout: none) {
    .tenor-gif-embed iframe {
        background-color: rgba(0, 0, 0, 0) !important;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translateZ(0);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 1000px) {
    .tenor-gif-embed iframe {
        min-height: 600px;
    }
}

/* Safari specific styles */
@supports (-webkit-touch-callout: none) {
    .tenor-gif-embed {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        position: absolute !important;
        clip: rect(0, 0, 0, 0) !important;
    }
}

/* Blog Page Styles */
.blog-hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('swiss.jpg');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
}

.blog-hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

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

.blog-card:hover {
    transform: translateY(-5px);
}

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Active nav link */
.nav-links .active {
    color: #007bff;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .blog-hero-content p {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 80px auto 4rem auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.blog-post-body {
    color: #444;
    line-height: 1.8;
}

.blog-post-body h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 2rem 0 1rem;
}

.blog-post-body h3 {
    font-size: 1.4rem;
    color: #444;
    margin: 1.5rem 0 1rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul {
    margin: 1rem 0 1.5rem 2rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.blog-post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-link {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.share-link:hover {
    color: #007bff;
}

@media screen and (max-width: 768px) {
    .blog-post {
        margin: 60px 1rem 2rem;
    }

    .blog-post-hero {
        height: 250px;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-content h1 {
        font-size: 2rem;
    }

    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
} 

.video-container_2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
} 