/* 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: #4a3f35;
    background-color: #f8f6f3;
}

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

/* Typography */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #5d4e3a;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 246, 243, 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: center;
    align-items: center;
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3C3C3C 0%, #5D4E37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    font-style: normal;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a3f35;
    font-weight: 400;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

/* For mobile devices, make it even smaller */
@media (max-width: 1023px) {
    .nav-link {
        font-size: 0.8rem;
    }
}

.nav-link:hover {
    color: #8b7d6b;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #5d4e3a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation Styles */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(250, 249, 247, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        display: flex;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Desktop Navigation */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
}

/* Hero Section - Remove Card Styling */
.hero {
    padding: 0.5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f1eb;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hero-content {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 900px;
    margin: 0.5rem 0;
}

/* Left side - Image section */
.hero-left {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
}

.profile-image {
    position: relative;
    margin-bottom: 0;
}

.profile-img {
    width: 200px; /* Base size for all devices */
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid #d4c4b0;
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.12),
        0 5px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Right side - Content section */
.hero-right {
    flex: 1;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
}

/* Location badge like in reference */
.location-badge {
    display: inline-block;
    background: rgba(212, 196, 176, 0.2);
    color: #5d4e3a;
    padding: 8px 16px; /* Reduced from 12px 24px */
    border-radius: 20px; /* Reduced from 25px */
    font-size: 0.9rem; /* Reduced from 1rem */
    font-weight: 500;
    margin-bottom: 0.5rem; /* Further reduced */
    border: 1px solid rgba(212, 196, 176, 0.3);
    width: fit-content;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem; /* Further reduced from 3.8rem */
    font-weight: 700;
    margin-bottom: 0.2rem; /* Further reduced from 0.3rem */
    background: linear-gradient(135deg, #3C3C3C 0%, #5D4E37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.05; /* Tighter line height */
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.2rem; /* Further reduced from 1.4rem */
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 0.2rem; /* Further reduced from 0.3rem */
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-size: 1rem; /* Further reduced from 1.1rem */
    color: #666666;
    margin-bottom: 0.2rem; /* Further reduced from 0.3rem */
    font-weight: 300;
    line-height: 1.4; /* Tighter line height */
}

.hero-subtagline {
    font-size: 0.95rem; /* Further reduced from 1rem */
    color: #888888;
    margin-bottom: 0.5rem; /* Further reduced from 0.8rem */
    line-height: 1.5; /* Tighter line height */
    font-weight: 300;
}

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

/* Action buttons - matching the reference style */
.cta-buttons {
    display: flex;
    gap: 0.8rem; /* Reduced from 1rem */
    margin-top: 0.5rem; /* Reduced from 1rem */
}

.cta-button {
    padding: 14px 32px;
    background: #d4c4b0;
    color: #2c2c2c;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #8b7d6b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 125, 107, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #d4c4b0;
    color: #2c2c2c;
}

.cta-button.secondary:hover {
    background: #8b7d6b;
}

/* Social icons */
.social-icons {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(212, 196, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.4rem;
    border: 1px solid rgba(212, 196, 176, 0.2);
}

.social-link:hover {
    background: #8b7d6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 125, 107, 0.3);
}

/* Email section integrated into the card */
.email-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Contact bar styling - add this before the media queries */
.contact-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem; /* Add bottom padding to prevent overlap */
}

.email-input {
    padding: 12px 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #666666;
    min-width: 200px;
    flex: 1;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.email-input:focus {
    border-color: #8b7d6b;
    box-shadow: 0 2px 12px rgba(139, 125, 107, 0.2);
}

.email-btn {
    padding: 12px 24px;
    background: #8b7d6b;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.email-btn:hover {
    background: #8b7d6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 125, 107, 0.3);
}

/* Desktop-specific styling - Reduced picture size for website devices */
@media (min-width: 769px) {
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-container {
        padding: 0 3rem;
        max-width: 1800px;
    }
    
    .hero-content {
        margin: 2rem 0;
        max-width: 1400px;
    }
    
    .hero-left {
        padding: 3rem 3rem;
        flex: 0 0 45%;
    }
    
    .profile-img {
        width: 500px !important;
        height: 500px !important;
    }
    
    .hero-right {
        padding: 3rem 3.5rem;
        gap: 1.2rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.7rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-subtagline {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .location-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .cta-buttons {
        gap: 1.2rem;
        margin-top: 1rem;
    }
    
    .cta-button {
        padding: 16px 36px;
        font-size: 1rem;
    }
    
    /* Reduce spacing between social icons and email button */
    .social-icons {
        gap: 0.6rem; /* Reduced from 1rem */
        margin: 0.8rem 0; /* Reduced from 1rem 0 */
    }
    
    .contact-bar {
        gap: 0.6rem; /* Reduced from 1rem */
        margin-top: 0.8rem; /* Reduced from 1.5rem */
    }
}

/* Mobile responsiveness for contact bar */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0.50rem 0.25rem; /* Reduced top padding from 4rem to 2rem, bottom from 1rem to 0.5rem */
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0.25rem; /* Minimal padding */
        margin-bottom: 0.25rem; /* Reduced from 0.5rem */
        margin-top: 0.5rem; /* Reduced from 1rem */
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0.5rem 0 0.25rem;
        flex-direction: column;
    }
    
    .hero-left {
        flex: none;
        padding: 1rem 1rem 0.5rem;
        width: 100%;
    }
    
    .profile-img {
        width: 200px !important; /* Force small size on mobile */
        height: 200px !important;
        margin: 0 auto;
    }
    
    .hero-right {
        padding: 1rem 1.5rem 1.5rem; /* Minimal padding */
        text-align: center;
        width: 100%;
        gap: 0.5rem; /* Minimal gap */
    }
    
    .location-badge {
        margin: 0 auto 1.5rem;
        display: inline-block;
    }
    
    .hero-title {
        font-size: 2.4rem; /* Further reduced */
        margin-bottom: 0.3rem;
        line-height: 1.05;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-subtagline {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        padding: 0 0.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .email-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-icons {
        justify-content: center;
        margin: 1rem 0 0.5rem; /* Reduced from 2rem 0 to 1rem 0 0.5rem */
        gap: 1rem; /* Reduced from 1.5rem */
    }
    
    .contact-bar {
        flex-direction: column;
        gap: 1rem; /* Reduced from 1.5rem */
        margin-top: 0.5rem; /* Reduced from 2rem */
        width: 100%;
        padding: 0 1rem 2rem; /* Increased bottom padding */
    }
    
    .email-input {
        width: 100%;
        min-width: unset;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .email-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 0.9rem;
        margin-bottom: 1rem; /* Add bottom margin */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0.25rem 0.25rem; /* Further reduced top padding from 5rem to 1.5rem, bottom to 0.25rem */
    }
    
    .hero-container {
        padding: 0.5rem;
        margin-bottom: 2rem; /* Reduced from 4rem */
        margin-top: 0.5rem; /* Reduced from 1.5rem */
    }
    
    .hero-content {
        margin: 0.25rem 0 0.25rem; /* Reduced top margin from 1.5rem to 0.25rem */
        border-radius: 15px;
    }
    
    .hero-left {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .profile-img {
        width: 240px;
        height: 240px;
    }
    
    .hero-right {
        padding: 1.5rem 2rem 4rem;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-subtagline {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .social-icons {
        margin: 0.8rem 0 0.3rem; /* Further reduced spacing */
        gap: 0.8rem; /* Reduced gap between icons */
    }
    
    .contact-bar {
        padding: 0 0.5rem 3rem; /* Increased bottom padding */
        gap: 0.8rem; /* Reduced from 1.2rem */
        margin-top: 0.3rem; /* Reduced spacing from social icons */
    }
    
    .email-input {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .email-btn {
        padding: 14px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 1rem 0.5rem;
    }
    
    .hero-left {
        padding: 2rem 1rem 1rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .hero-right {
        padding: 1rem 1.5rem 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtagline {
        padding: 0;
    }
}



/* Ensure next section doesn't overlap */
.about {
    margin-top: 3rem;
    padding: 6rem 0;
    background: linear-gradient(135deg, #fdfcfa 0%, #f9f7f4 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 125, 107, 0.3) 50%, transparent 100%);
}

@media (max-width: 768px) {
    .about {
        margin-top: 1rem;
        padding: 4rem 0;
    }
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about-image {
    flex: 0 0 420px;
    text-align: left;
    position: relative;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
}

.about-text {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1), 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 125, 107, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
}

.about-text .section-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.02em;
}

.about-text .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b7d6b 0%, rgba(139, 125, 107, 0.3) 100%);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a4a4a;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.about-text p:first-of-type {
    font-size: 1.25rem;
    color: #3a3a3a;
    font-weight: 500;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-text p:first-of-type::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 3rem;
    color: #8b7d6b;
    font-family: serif;
    line-height: 1;
}

.about-text p strong {
    color: #8b7d6b;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.read-more-btn {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a6e5f 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(139, 125, 107, 0.3);
    letter-spacing: 0.02em;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 125, 107, 0.4);
    background: linear-gradient(135deg, #7a6e5f 0%, #6b5f52 100%);
}

.read-more-content {
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive - elegant stacked layout on smaller screens */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .about-image {
        flex: none;
        text-align: center;
    }
    
    .about-image::before {
        top: -15px;
        left: -15px;
        right: 15px;
        bottom: 15px;
    }
    
    .about-img {
        max-width: 300px;
    }
    
    .about-text {
        text-align: center;
        padding: 2rem 1.5rem;
        margin-top: 0;
    }
    
    .about-text .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        text-align: left;
        max-width: 100%;
    }
    
    .about-text p:first-of-type {
        font-size: 1.15rem;
        text-align: center;
        padding-left: 0;
        margin-bottom: 2rem;
    }
    
    .about-text p:first-of-type::before {
        display: none;
    }
    
    .about-text p strong {
        font-size: 1.1rem;
    }
    
    .read-more-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
        margin: 0.8rem 0;
    }
}

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

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    align-items: stretch;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: #faf8f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #8b7d6b;
    font-size: 1.5rem;
    border: 2px solid rgba(139, 125, 107, 0.2);
    transition: all 0.3s ease;
}

.service-icon i {
    display: block;
    line-height: 1;
    font-weight: 900;
}

.service-card:hover .service-icon {
    background-color: #8b7d6b;
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #8b7355;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b5b73;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: #8b7d6b;
    border: 2px solid #8b7d6b;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.service-btn:hover {
    background-color: #8b7d6b;
    color: white;
}

/* Services Show More Button */
.services-show-more-btn {
    display: none;
    margin: 3rem auto 0;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a6e5f 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 125, 107, 0.3);
}

.services-show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 125, 107, 0.4);
}

.services-more-content {
    display: contents;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background-color: white;
}



.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(139, 115, 85, 0.1);
    transition: transform 0.3s ease;
    background: #f5f5f5;
}

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

.portfolio-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.portfolio-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    outline: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 115, 85, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background-color: white;
    border: none;
    border-radius: 50%;
    color: #8b7d6b;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: #8b7d6b;
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #faf9f7 0%, #faf8f6 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(139, 125, 107, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(139, 115, 85, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6b5b73;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.testimonials .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8b7d6b, #7a6e5f);
    border-radius: 2px;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.08),
                0 4px 15px rgba(139, 125, 107, 0.05);
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 125, 107, 0.1);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateX(50px);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 120px);
    left: -60px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: rgba(139, 125, 107, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 125, 107, 0.2);
}

.carousel-btn:hover {
    background: rgba(139, 125, 107, 0.9);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 125, 107, 0.3);
}

.prev-btn {
    position: relative;
    left: 0;
}

.next-btn {
    position: relative;
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: rgba(139, 125, 107, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #8b7d6b;
    transform: scale(1.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b7d6b, #7a6e5f, #8b7d6b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.12),
                0 8px 25px rgba(139, 125, 107, 0.08);
}

.testimonial-content {
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: rgba(139, 125, 107, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #6b5b73;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.testimonial-author {
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8b7d6b, #7a6e5f);
    border-radius: 1px;
}

.testimonial-author strong {
    color: #8b7355;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
}

.testimonial-author strong::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8b7d6b;
    transition: width 0.3s ease;
}

.testimonial-card:hover .testimonial-author strong::after {
    width: 100%;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b7d6b;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #8b7d6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #8b7d6b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 125, 107, 0.3);
}

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

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: #8b7355;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item h4 {
    color: #8b7355;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: #8b7d6b;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

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

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background-color: #8b7d6b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

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

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

.footer-social a:hover {
    color: #8b7d6b;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services-show-more-btn {
        display: block;
    }
    
    .services-more-content {
        display: none;
        animation: fadeIn 0.5s ease-in-out;
    }
    
    .services-more-content.show {
        display: contents;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .contact-bar {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .email-input {
        flex: 1;
        max-width: 250px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-carousel {
        max-width: 700px;
    }
    
    .testimonial-card {
        padding: 3.5rem 3rem;
    }
    
    .testimonial-content p {
        font-size: 1.15rem;
    }
    
    .carousel-nav {
        width: calc(100% + 140px);
        left: -70px;
    }
    
    .carousel-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .about-content {
        flex-direction: row;
        text-align: left;
    }
    
    .about-text {
        text-align: left;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-social {
        align-items: flex-start;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
        justify-items: center;
    }
    
    .service-card:nth-child(1),
    .service-card:nth-child(2) {
        grid-column: span 2;
    }
    
    .services-more-content .service-card:nth-child(1) {
        grid-column: span 2;
    }
    
    .services-more-content .service-card:nth-child(2) {
        grid-column: 2 / span 2;
    }
    
    .services-more-content .service-card:nth-child(3) {
        grid-column: 4 / span 2;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonial-card {
        padding: 4rem 3rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .about-img {
        max-width: 400px;
    }
    
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonial-card {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .testimonial-content::before {
        font-size: 3rem;
        top: -15px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* iPhone-style Video Portfolio Styles */
.portfolio-subtitle {
    font-size: 1.2rem;
    color: #6b5b73;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-description {
    font-size: 1rem;
    color: #8b7355;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-section {
    margin-bottom: 4rem;
}

.portfolio-section-title {
    font-size: 1.8rem;
    color: #8b7355;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.iphone-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.iphone-video-container {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.iphone-video-container:hover {
    transform: translateY(-5px);
}

.iphone-frame {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 35px;
    padding: 8px;
    box-shadow: 
        0 0 0 2px #3a3a3c,
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #3a3a3c;
    border-radius: 3px;
    z-index: 10;
}

.iphone-frame::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background: #3a3a3c;
    border-radius: 2px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 27px;
    overflow: hidden;
    position: relative;
}

.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 27px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 27px;
}

.iphone-video-container:hover .video-overlay {
    opacity: 0;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8b7355;
    transition: all 0.3s ease;
}

.play-icon:hover {
    background: rgba(139, 125, 107, 0.9);
    transform: scale(1.1);
}

/* Service Card Video Format Tags */
.video-formats {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.format-tag {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Portfolio Filters Update */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #8b7d6b;
    color: #8b7355;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8b7d6b;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design for iPhone Videos */
@media (min-width: 768px) {
    .iphone-video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .iphone-frame {
        width: 220px;
        height: 440px;
    }
}

@media (min-width: 1024px) {
    .iphone-video-grid {
        gap: 3rem;
    }
    
    .iphone-frame {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 767px) {
    .iphone-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .iphone-frame {
        width: 160px;
        height: 320px;
    }
    
    .portfolio-section-title {
        font-size: 1.5rem;
    }
    
    .play-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Travel Map Section */
.travel-map {
    padding: 0;
    background: linear-gradient(135deg, #faf9f7 0%, #faf8f6 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.travel-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(139, 125, 107, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(139, 115, 85, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.map-container {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.map-header {
    background: linear-gradient(135deg, rgba(250, 249, 247, 0.95) 0%, rgba(245, 245, 220, 0.95) 100%);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.map-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #5d4e3a;
}

.map-subtitle {
    font-size: 1.1rem;
    color: #6b5b73;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.map-content {
    display: flex;
    flex: 1;
    height: calc(100vh - 200px);
}

.map-left {
    flex: 1;
    width: 50%;
    position: relative;
}

.interactive-map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.map-right {
    flex: 1;
    width: 50%;
    background: white;
    overflow-y: auto;
    border-left: 1px solid #e0e0e0;
}

.countries-list {
    padding: 2rem;
    height: 100%;
}

.countries-title {
    font-size: 1.8rem;
    color: #8b7355;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.countries-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #faf9f7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.country-item:hover {
    background: #faf8f6;
    border-color: #8b7d6b;
    transform: translateX(5px);
}

.country-item.active {
    background: #faf8f6;
    border-color: #8b7d6b;
}

.country-pin {
    width: 16px;
    height: 16px;
    background-color: #e91e63;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
    flex-shrink: 0;
}

.country-info h4 {
    font-size: 1.1rem;
    color: #8b7355;
    margin: 0 0 0.3rem 0;
    font-weight: 600;
}

.country-info p {
    font-size: 0.9rem;
    color: #6b5b73;
    margin: 0;
    line-height: 1.4;
}

/* Custom Leaflet Popup Styles */
.custom-popup .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(139, 115, 85, 0.2);
}

.custom-popup .leaflet-popup-content {
    margin: 15px;
    font-family: 'Inter', sans-serif;
}

.popup-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8b7355;
    margin-bottom: 0.5rem;
}

.popup-description {
    font-size: 0.9rem;
    color: #6b5b73;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-container {
        height: auto;
        min-height: 100vh;
    }
    
    .map-header {
        padding: 1.5rem 1rem;
    }
    
    .map-title {
        font-size: 2rem;
    }
    
    .map-subtitle {
        font-size: 1rem;
    }
    
    .map-content {
        flex-direction: column;
        height: auto;
    }
    
    .map-left {
        width: 100%;
        height: 60vh;
        min-height: 400px;
    }
    
    .map-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        max-height: 50vh;
        overflow-y: auto;
    }
    
    .countries-list {
        padding: 1.5rem 1rem;
        height: auto;
    }
    
    .countries-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .country-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .country-info h4 {
        font-size: 1rem;
    }
    
    .country-info p {
        font-size: 0.85rem;
    }
    
    .interactive-map {
        min-height: 400px;
    }
    
    /* Testimonials Carousel Mobile */
    .testimonials-carousel {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .carousel-nav {
        width: calc(100% + 40px);
        left: -20px;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .map-header {
        padding: 1rem;
    }
    
    .map-left {
        height: 50vh;
        min-height: 350px;
    }
    
    .countries-list {
        padding: 1rem;
    }
    
    .country-item {
        padding: 0.7rem;
        margin: 0;
    }
    
    .countries-title {
        font-size: 1.3rem;
    }
}

/* Lightbox video styling */
.lightbox video {
    background-color: #000;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px;
}

.lightbox-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 8px;
}

/* Custom map pin styling - Pink pins for interactive map */
.custom-pin {
    width: 20px;
    height: 20px;
    background-color: #e91e63;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.4);
    position: relative;
}

.custom-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}