/* Base styles and reset */
html {
    font-size: 14px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
}

nav {
    width: 100%;
    background: white;
}

.navbar {
    padding: 1rem 0rem 0.5rem 0rem;
    background: white;
    width: 100%;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.7rem;  /* Changed from 2rem to 4rem for more space */
}

.nav-links {
    display: flex;
    gap: 6rem;  /* Increased from 2rem to 4rem */
    justify-content: center;
}

.nav-links a {
    color: #070008;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #a913ff;
}

.hero-image {
    width: 70%;
    margin: 0 auto 4rem auto;
    overflow: hidden;
 }
 
 .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
 }

 /* .welcome-text {
    text-align: center;
    padding: 0rem 1rem;
    max-width: auto;
    margin: 0 auto;
    font-size: 2.5rem;
    line-height: 1.4;
    font-family: 'Cormorant Garamond', serif;
    color: #333;
    font-weight: 300;
    letter-spacing: 1px;
 } */
 
 .brief-text {
    text-align: center;
    padding: 0rem 0rem 3rem 0rem;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
 }

 .image-duo {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 0rem;
    max-width: 1200px;
    margin: 0 auto;
}

.duo-image {
    width: 45%;
}

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

/* Footer */
.footer {
    background: #f8f8f8;
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Three equal columns */
    gap: 2rem;
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    color: #888;
    font-size: 0.8rem;
    border-top: 1px solid #eee;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;  /* Stack vertically on mobile */
        gap: 3rem;
    }
}

/* About page layout */
.about {
    max-width: 1150px;
    margin: 4rem auto;
    padding: 0 4rem;
}

/* Team members section */
.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 6rem;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 6rem 0;  /* Space around divider */
    width: 100%;
}


/* Ulf's section */
.about-title {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #333;
}

.ulf-section {
    margin-top: 4rem;
    padding: 0 2rem;
}

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

.ulf-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ulf-story {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.signature {
    margin-top: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #333;
}

.member-quote {
    text-align: center;
}

.member-quote img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.member-quote h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #333;
}

.member-quote p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    max-width: 80%;  /* Constrain text width */
    margin: 0 auto;  /* Center the constrained text */
}

@media (max-width: 768px) {
    .about {
        margin: 1rem auto;  /* Reduced from 4rem to 1rem */
        padding: 0 1rem;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .ulf-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .member-quote img {
        width: 180px;  /* Can be larger on mobile */
        height: 180px;
    }
    
    .ulf-section {
        padding: 0 1rem;
    }

    .ulf-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* References section */
section.references {
    max-width: 1150px;
    margin: 1rem auto;
    padding: 0 5rem;
}

.references-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 2rem 0 0;  /* Space around divider */
    width: 100%;
}

.references-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 950px;
}

.reference-item {
    background: #fff;
    margin-bottom: 2rem;
}

.references-welcome-text {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    padding: 1rem 1rem;
    max-width: auto;
    margin: 0 auto;
    font-size: 2.5rem;
    line-height: 1.4;
    color: #333;
    font-weight: 300;
    letter-spacing: 1px;
}


.reference-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 6rem;
    padding: 1rem;
    align-items: center;
}

.reference-text {
    margin-left: -3rem;
}

.reference-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

/* .reference-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
} */

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

.reference-text blockquote {
    position: relative;
    padding-left: 2rem;
    margin: 0;
}

.reference-text blockquote:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: #a913ff;
    font-family: 'Cormorant Garamond', serif;
    opacity: 0.3;
}

.reference-text blockquote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.reference-text blockquote footer cite {
    font-style: normal;
    color: #888;
    font-size: 1rem;
}

@media (max-width: 768px) {

    .references {
        padding: 0 1rem;
        margin: 1rem;
    }
    
    .reference-image {
        height: 200px;
        width: 100%;
        overflow: hidden;
    }
    
    .reference-text {
        margin-left: 0;
    }

    
    .reference-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 1rem;
        margin-left: 0;
    }
    
    
    .reference-text {
        margin-left: 0;
    }
    
    .references-list {
        gap: 4rem;
    }
}

.logo {
    text-align: center;
}

.logo img {
    height: 200px;
    width: auto;
}

.location-card {
    margin: 2rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.location-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

/* Services page */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.service-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

/* Contact form */
.contact-form {
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
}

.contact-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #444;
    font-size: 0.9rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #eee;
    font-size: 0.9rem;
    background: #f9f9f9;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    min-height: 100px;
    resize: none;
}

.button-container {
    text-align: right;
    margin-top: 2rem;
}

.contact-form button {
    width: 100%;
    padding: 0.8rem;
    background: #666;
    color: white;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

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

/* Careers page */
.careers {
    max-width: 1200px;  /* Match the wider layout */
    margin: 4rem auto;
    padding: 0 4rem;
}

.application-info {
    margin: 0 auto;
    max-width: 800px;  /* Keep content width narrower for readability */
}

.application-info h1 {
    color: #1a1a1a;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
}

.careers-intro {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.requirements-section {
    margin: 3rem 0;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.requirements-section h2 {
    color: #1a1a1a;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
}

.application-info ul {
    list-style: none;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.application-info li {
    margin: 1.25rem 0;
    padding-left: 2rem;
    position: relative;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.application-info li:before {
    content: "→";
    color: #a913ff;
    position: absolute;
    left: 0;
    font-weight: normal;
}

.contact-info {
    margin-top: 4rem;
    text-align: center;
}

.contact-info h2 {
    color: #1a1a1a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
}

.contact-info p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    color: #a913ff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.contact-link:hover {
    color: #8710cc;
}

@media (max-width: 768px) {
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-link {
        font-size: 1.1rem;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
    }
    
    .navbar {
        padding: 1rem;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .nav-links {
        display: none;  /* Hide by default on mobile */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;  /* Show when active */
    }

    /* Hamburger menu button */
    .menu-toggle {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1001;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: #333;
        margin: 5px auto;
        transition: all 0.3s ease;
    }

    /* Logo adjustments for mobile */
    .logo {
        display: block;
        text-align: left;
    }

    .logo img {
        height: 40px;  /* Adjust this value based on your logo size */
        width: auto;
    }

    .image-duo {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .duo-image {
        width: 100%;
    }

    .welcome-text {
        font-size: 1.8rem;
        padding: 1rem;
        margin-top: 1rem;
    }

    .brief-text {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Adjust main content padding */
    .about, 
    .services,
    .references,
    .careers {
        padding: 1rem;
        margin: 1rem auto;
    }

    /* Improve form responsiveness */
    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
    }

    /* Adjust footer for mobile */
    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

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

    .about {
        padding: 2rem 1rem;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .ulf-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .photos {
        gap: 1rem;
    }

    .ulf-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .story {
        text-align: center;
    }
}

.nav-links a.active {
    color: #a913ff;
}

/* Service columns layout */
.service-columns {
    max-width: 1150px;  /* Increased from 800px to match nav width */
    margin: 4rem auto;
    padding: 0 4rem;    /* Matched with navbar padding */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-accordion {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Service item styles */
.service-item {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: rgba(103, 58, 183, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(103, 58, 183, 0.08);
}

.service-header {
    background: #ffffff;
    padding: 1.8rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.service-header:hover {
    background-color: rgba(103, 58, 183, 0.03);
}

.service-item.active .service-header {
    background-color: rgba(103, 58, 183, 0.05);
}

.service-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #333;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.02em;
}

/* Content area */
.service-content {
    position: relative;
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item.active .service-content {
    padding: 2rem 2rem 2.5rem 2rem;
    max-height: 500px;
}

/* Content text styles */
.service-content p {
    margin: 1rem 0 1.5rem 0;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    opacity: 0;
    font-family: 'Inter', sans-serif;
}

.service-content ul {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
}

.service-content li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.5;
    opacity: 0;
    padding-left: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.service-content p.show,
.service-content li.show {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Toggle icon */
.toggle-icon {
    font-size: 1.5rem;
    color: #999;
    transition: all 0.3s ease;
    font-weight: 200;
}

.service-item.active .toggle-icon {
    transform: rotate(45deg);
    color: #666;
}

/* Active state */
.service-item.active {
    border-color: #e0e0e0;
}

.service-item.active .service-header {
    border-bottom: 1px solid #f5f5f5;
}

/* Responsive design */
@media (max-width: 768px) {
    .service-columns {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .service-header {
        padding: 1.5rem;
    }
    
    .service-item.active .service-content {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
    }
}

/* All main headings */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Welcome text specific */
.welcome-text {
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    padding: 2rem 1rem;
    max-width: auto;
    margin: 0 auto;
    font-size: 2.5rem;
    line-height: 1.4;
    color: #333;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Brief text and general content */
/* .brief-text, p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
} */

.application-info {
    margin: 0 auto;
    max-width: 800px;
    padding: 2rem;
}

.application-info h2 {
    color: #333;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
}

.application-info p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.application-info ul {
    list-style: none;
    margin: 2rem 0;
}

.application-info li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    font-size: 1.1rem;
}

.application-info li:before {
    content: "•";
    color: #a913ff;
    position: absolute;
    left: 0.5rem;
    font-weight: bold;
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-info a {
    display: inline-block;
    color: #a913ff;
    font-size: 1.2rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #8710cc;
}

@media (max-width: 768px) {
    .application-info {
        padding: 1.5rem;
        margin: 1rem;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
}

.cookie-banner button {
    background: #a913ff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.cookie-banner button:hover {
    background: #8710cc;
}

.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.legal-content h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #444;
}

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

.legal-links {
    text-align: center;
    padding: 1rem 0;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #a913ff;
}

.legal-links .separator {
    margin: 0 1rem;
    color: #666;
}

/* Contact header image */
.contact-header {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 2rem auto;
    padding: 0 4rem;
    overflow: hidden;
}

.contact-header img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact form */
.contact-form {
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
}



/* Services specific adjustments */
.services {
    margin-top: 1rem;
}



@media (max-width: 768px) {
    .service-columns {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
}

.qr-contact-card {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qr-contact-card .logo {
    text-align: center;
    margin-bottom: 2rem;
}

.qr-contact-card .logo img {
    height: 80px;
    width: auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.contact-item i {
    width: 24px;
    color: #a913ff;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a913ff;
}

@media (max-width: 768px) {
    .qr-contact-card {
        margin: 1rem;
        padding: 1.5rem;
    }
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group input::placeholder {
    color: #999;
    font-size: 0.9rem;
}

.form-group input:invalid {
    border-color: #ff6b6b;
}

.form-group input:focus {
    outline: none;
    border-color: #a913ff;
}

/* Add styles for form submission state */
.contact-form button:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Common slideshow controls */
.slideshow-controls {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.prev-slide,
.next-slide {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #333;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-slide:hover,
.next-slide:hover {
    background: #a913ff;
    color: white;
}

.slide-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #a913ff;
}

/* Team Members Slideshow */
.team-slideshow {
    position: relative;
    background: #fff;
    overflow: hidden;
    margin: 0 auto;
}

.team-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.team-slide.active {
    display: block;
    opacity: 1;
}

.team-slide-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 2rem;
    align-items: center;
    height: 400px;
}

.team-member-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-member-text {
    margin-left: -3rem;
}

.team-member-text blockquote {
    position: relative;
    padding-left: 2rem;
}

.team-member-text blockquote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.team-member-text blockquote footer cite {
    font-style: normal;
    color: #888;
    font-size: 1rem;
}


@media (max-width: 768px) {
    .team-slide-content {
        grid-template-columns: 1fr; /* Stack content vertically */
        gap: 2rem; /* Reduce gap */
        height: auto; /* Allow height to be dynamic */
        padding: 1.5rem; /* Slightly reduced padding */
    }
    
    .team-member-image {
        max-width: 200px; /* Slightly smaller image */
    }
    
    .team-member-text {
        margin-left: 0; /* Remove negative margin */
        text-align: center; /* Center text */
    }
    
    .team-member-text blockquote {
        padding-left: 0; /* Remove left padding */
    }
    
    .team-member-text blockquote p {
        font-size: 1.1rem; /* Slightly smaller font */
        line-height: 1.6;
    }
    
    .team-member-text blockquote footer cite {
        font-size: 0.9rem;
    }
}



/* Mobile Menu Styles */
.menu-toggle {
    display: none;  /* Hidden by default, shown only on mobile */
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger animation classes */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile-specific styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;  /* Show hamburger on mobile */
    }

    .nav-links {
        display: none;  /* Hide by default on mobile */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;  /* Show when active */
    }

    .nav-links a {
        font-size: 1.2rem;  /* Larger text for mobile menu */
    }

    body.menu-open {
        overflow: hidden;  /* Prevent scrolling when menu is open */
    }


    .slideshow-controls {
        padding: 1rem 0;
    }

    .prev-slide,
    .next-slide {
        padding: 0.5rem;
    }
}

/* Logo adjustments */
.logo {
    text-align: center;
}

.logo img {
    height: 130px;
    width: auto;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;  /* Stack items vertically */
        align-items: center;     /* Center items horizontally */
        gap: 1rem;
    }
    
    .logo {
        width: 100%;            /* Take full width */
        text-align: center;     /* Center the logo */
    }
    
    .logo img {
        height: 100px;          /* Adjust height for mobile */
        width: auto;
        margin: 0 auto;         /* Center the image */
    }
    
    .menu-toggle {
        position: absolute;     /* Position the hamburger menu */
        right: 1rem;           /* Align to the right */
        top: 1rem;             /* Align to the top */
    }
}