/* Base Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f7;
}

/* Header Styles */
header {
    background: #121212;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    background-color: #ff7d2e;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff7d2e;
}

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

/* Main Content */
main {
    min-height: calc(100vh - 130px);
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(to right, #fff, #f8f9fa);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-text-content {
    max-width: 600px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #555;
    margin: 20px 0 30px;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.primary-button, .secondary-button {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-button {
    background-color: #ff7d2e;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 125, 46, 0.3);
}

.primary-button:hover {
    background-color: #e86b1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 125, 46, 0.4);
}

.secondary-button {
    background-color: transparent;
    color: #333;
    border: 2px solid #ff7d2e;
}

.secondary-button:hover {
    background-color: rgba(255, 125, 46, 0.1);
    transform: translateY(-2px);
}

.hello-bubble {
    display: inline-block;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 8px 18px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #555;
    font-weight: 500;
}

.profile-img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.profile-img:hover {
    transform: translateY(-10px);
}

/* About Preview Section Enhancements */
.about-preview {
    background-color: #121212;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bio-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.bio-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.bio-icon {
    font-size: 2rem;
    color: #ff7d2e;
    opacity: 0.8;
}

.bio {
    font-size: 1.4rem;
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
    padding-left: 0;
    max-width: 100%;
    position: relative;
}

.stats-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.stat-divider {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ff7d2e;
    line-height: 1;
    display: flex;
    align-items: flex-start;
}

.stat-plus, .stat-percent {
    font-size: 2rem;
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.7;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .hero-heading {
        font-size: 3.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }
    
    .hero-image-container {
        order: -1;
    }
    
    .hero-tagline-container {
        grid-column: span 1;
        margin-top: 0;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .bio-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .bio-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stats-container {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 600px) {
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-divider {
        width: 70px;
        height: 1px;
    }
}

/* Core Values Section */
.core-values {
    padding: 60px 0;
    background-color: white;
}

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

.value-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    border-bottom: 2px solid #ff7d2e;
    padding-bottom: 10px;
    display: inline-block;
}

/* Goals Section */
.goals {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.goals p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #121212;
    color: #fff;
    padding: 60px 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.footer-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-text p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 40px;
}

/* Contact Page Styles */
.contact-hero {
    background-color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 0;
    color: #555;
}

.contact-content {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-text {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-text a {
    color: #ff7d2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 1.8rem;
    color: #ff7d2e;
}

.contact-detail h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.contact-detail p {
    margin: 0;
}

.contact-detail a {
    color: #ff7d2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.submit-btn {
    background-color: #ff7d2e;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #e86b1c;
}

/* Responsive Contact Page */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
        margin-bottom: 30px;
    }
}

/* About Page Styles */
.about-hero {
    background-color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.about-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px auto 0;
    color: #555;
}

.about-photos {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.photo-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.about-photo {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 45%;
    max-width: 450px;
}

.about-photo:first-child {
    margin-top: 0;
}

.about-photo:last-child {
    margin-top: 0;
}

.about-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

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

/* Timeline Section */
.timeline-section {
    padding: 60px 0;
    background-color: white;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ff7d2e;
    top: 0;
    bottom: 0;
    left: 120px;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 120px;
    background-color: #ff7d2e;
    border-radius: 50%;
    top: 5px;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    width: 100px;
    text-align: right;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
}

.timeline-content {
    margin-left: 150px;
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f9f9f9;
    top: 10px;
    left: -10px;
}

.timeline-content h3 {
    margin-top: 0;
    color: #ff7d2e;
    font-size: 1.3rem;
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .photo-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .about-photo {
        width: 80%;
        max-width: 400px;
    }
    
    .about-photo:last-child {
        margin-top: 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        text-align: left;
        margin-left: 50px;
        margin-bottom: 10px;
        font-size: 1.3rem;
    }
    
    .timeline-content {
        margin-left: 50px;
    }
}

/* Mobile fixes - comprehensive solution */
@media (max-width: 768px) {
    /* Fix header layout on mobile */
    header {
        position: static; /* Remove sticky positioning completely */
        display: flex;
        flex-direction: column;
        padding: 10px 15px;
    }
    
    /* Fix Portfolio button */
    .logo {
        margin-bottom: 10px;
        display: inline-block;
        text-align: center;
    }
    
    /* Improve navigation layout */
    nav ul {
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 15px;
        margin: 5px 0;
    }
    
    /* Fix main content top spacing */
    main {
        padding-top: 0;
        margin-top: 0;
    }
    
    /* Reduce spacing between elements */
    .hero-section {
        padding-top: 15px;
        padding-bottom: 20px;
    }
    
    /* Fix footer spacing issues */
    footer {
        padding: 30px 0 20px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    /* Reduce spacing between footer elements */
    .footer-text {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .copyright {
        margin-top: 20px;
    }
}

/* Extra small device adjustments */
@media (max-width: 375px) {
    nav ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    nav ul li a {
        font-size: 0.85rem;
    }
    
    .hero-heading {
        font-size: 2rem;
    }
}

/* ================ REFINED HERO SECTION ================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    background-color: #faf9f7;
    overflow: hidden;
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 125, 46, 0.02);
    top: -200px;
    left: -200px;
}

.circle-2 {
    width: 800px;
    height: 800px;
    background: rgba(255, 125, 46, 0.01);
    bottom: -300px;
    right: -300px;
}

.bg-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,125,46,0.02) 0%, rgba(255,125,46,0) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    width: 600px;
    height: 600px;
    top: 10%;
    right: -200px;
    animation: morphShape 15s ease-in-out infinite alternate;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hello-bubble {
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    padding: 12px 24px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #555;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: floatIn 0.5s ease-out forwards;
}

@keyframes floatIn {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.bubble-tail {
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    z-index: -1;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.hero-heading {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 25px;
    animation: fadeUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-heading .pronunciation {
    display: block;
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    font-style: italic;
    margin-top: 0;
    padding-top: 5px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

@keyframes fadeUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-heading .highlight {
    color: #ff7d2e;
    position: relative;
    display: inline-block;
}

.hero-heading .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 35px;
    width: 100%;
    height: 4px;
    background-color: #ff7d2e;
    border-radius: 2px;
}

.hero-description {
    max-width: 550px;
    margin-bottom: 40px;
    animation: fadeUp 0.7s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.primary-button, .secondary-button {
    font-size: 1rem;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.primary-button {
    background-color: #ff7d2e;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 125, 46, 0.2);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 125, 46, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.secondary-button:hover {
    background-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.2);
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1), 
                -20px -20px 60px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 125, 46, 0.2);
    padding: 8px;
    background-color: #fff;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: rotate(1deg);
    transition: all 0.5s ease;
}

.hero-image-container:hover {
    transform: rotate(-1deg) scale(1.02);
    box-shadow: 25px 25px 70px rgba(0, 0, 0, 0.12), 
                -25px -25px 70px rgba(255, 255, 255, 0.9);
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.profile-img {
    width: 100%;
    display: block;
    border-radius: 14px;
    transform: scale(1);
    transition: transform 0.7s ease;
}

.hero-image-container:hover .profile-img {
    transform: scale(1.03);
}

/* Make the site fully responsive */
@media (max-width: 1200px) {
    .hero-heading {
        font-size: 4rem;
    }
    
    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-heading {
        font-size: 3.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
        order: 2;
    }
    
    .hello-bubble {
        margin-right: auto;
        margin-left: auto;
    }
    
    .bubble-tail {
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }
    
    .hero-description {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 20px 0;
    }
    
    .hero-heading {
        font-size: 2.8rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* Add a section separator */
.section-separator {
    position: relative;
    height: 80px;
    background: linear-gradient(to right, #f5f5f5, #fafafa, #f5f5f5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.section-separator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.separator-icon {
    font-size: 1.5rem;
    color: #ff7d2e;
    opacity: 0.7;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Intro Section - Enhanced styling */
.intro {
    padding: 70px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(255,125,46,0.03) 0%, transparent 80%);
    z-index: -1;
}

.intro h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
}

.intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ff7d2e;
    border-radius: 2px;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* Add responsive adjustments */
@media (max-width: 992px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .section-separator {
        height: 60px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 20px 0;
    }
    
    .section-separator {
        height: 50px;
    }
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    width: 300px; /* Fixed width for portrait orientation */
    height: 450px; /* Taller height for portrait orientation */
    perspective: 1000px; /* 3D effect */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 10px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden; /* Keep images contained */
}

.flip-card-front {
    background-color: #f1f1f1;
    z-index: 2; /* Ensure front is visible initially */
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    padding: 0;
    margin: 0;
}

.flip-card-front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    image-rendering: crisp-edges;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}

.hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 125, 46, 0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.flip-card:hover .hover-overlay {
    opacity: 0; /* Hide when flipping starts */
}

.flip-card-front:hover .hover-overlay {
    opacity: 1; /* Show on hover before flip */
}

.hover-overlay span {
    font-weight: 500;
    letter-spacing: 1px;
}

.flip-card-back {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    color: white;
    transform: rotateY(180deg);
    z-index: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.flip-card-back::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    opacity: 1;
    z-index: -1;
}

.flip-card-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.35);
}

.flip-card-back p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
    max-width: 85%;
}

/* Photo grid container */
.photo-grid-container {
    padding: 30px 0;
    text-align: center;
}

.hover-hint {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

/* Existing Photo Grid Styles - Updated */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 20px;
    }
    
    .flip-card {
        height: 450px;
    }
}

/* iPhone-specific fixes */
@media screen and (max-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Prevent text size adjustment */
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    /* Prevent zoom on form fields */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Ensure the navbar fits on iPhone X-style notches */
    header {
        padding-top: env(safe-area-inset-top, 10px);
        padding-left: env(safe-area-inset-left, 10px);
        padding-right: env(safe-area-inset-right, 10px);
    }
    
    /* Fix footer padding for home button area */
    footer {
        padding-bottom: env(safe-area-inset-bottom, 10px);
    }
}

@media (max-width: 768px) {
    /* Fix grids */
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Center align grid items */
    .values-grid, .photo-grid {
        justify-items: center;
    }
    
    /* Make images fit properly */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Fix hero buttons spacing and alignment */
@media (max-width: 768px) {
    /* Fix button alignment and centering on mobile */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        gap: 15px;
    }
    
    /* Make both buttons exactly the same width */
    .primary-button, .secondary-button {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
        display: block;
        text-align: center;
        margin: 0 auto;
        padding: 14px 0;
    }
    
    /* Ensure consistent styling between both buttons */
    .secondary-button {
        border-radius: 50px; /* Match the primary button's border-radius */
        background-color: white; /* Add a background for better visibility */
        border: 1px solid rgba(255, 125, 46, 0.3); /* Subtle border */
    }
    
    /* Ensure the container is centered */
    .hero-container {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Adjust spacing after hero section */
    .hero-section {
        padding-bottom: 30px;
        margin-bottom: 0;
    }
    
    /* Fix section heading spacing */
    h2, .section-title {
        margin-top: 35px;
        margin-bottom: 20px;
        font-size: 1.8rem;
    }
    
    /* Improve spacing between sections */
    section {
        padding: 25px 0;
    }
    
    /* Add padding around content */
    .container {
        padding: 0 20px;
    }
    
    /* Fix introduction section spacing */
    .introduction {
        padding-top: 20px;
    }
}

/* Extra small device adjustments */
@media (max-width: 375px) {
    .primary-button, .secondary-button {
        max-width: 240px;
    }
    
    .primary-button, .secondary-button {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
} 