/* Global Styles */
:root {
    --primary: #f8c8dc;
    --secondary: #d4e6f1;
    --accent: #e6a8c5;
    --text: #333333;
    --light: #f9f9f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
    position: relative;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto;
    transform-origin: center;
    transition: transform 0.8s ease;
}

section:hover h2:after {
    transform: scaleX(1.2);
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--text);
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 168, 197, 0.3);
}

.btn:hover {
    background: var(--primary);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 168, 197, 0.4);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    transition: all 0.4s ease;
}

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

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    font-weight: 500;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1529632317261-327a9435390e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.hero-content.animate {
    transform: translateY(0);
    opacity: 1;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about-text {
    flex: 1;
    padding: 20px;
}

.about-image {
    flex: 1;
    position: relative;
}

.story-image {
    width: 60%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.story-image:hover {
    transform: scale(1.02);
}

/* Remove the old about content pseudo-elements */
.about-content:before, .about-content:after {
    content: none;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1; /* Image first on mobile */
        margin-bottom: 30px;
    }
    
    .story-image {
        max-width: 100%;
    }
}

/* Services Section */
.services {
    background: var(--secondary);
}

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

.service-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
}

.service-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: var(--accent);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.service-item h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

/* Qualifications Section */
.qualifications {
    background: var(--white);
}

.qualifications-list {
    max-width: 600px;
    margin: 0 auto;
}

.qualifications-list li {
    margin-bottom: 15px;
    list-style-type: none;
    position: relative;
    padding-left: 40px;
    font-size: 1.1rem;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.qualifications-list li.animate {
    transform: translateX(0);
    opacity: 1;
}

.qualifications-list li:before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--primary);
}

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

.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    transform: scale(0.95);
    opacity: 0;
}

.testimonial.animate {
    transform: scale(1);
    opacity: 1;
}

.testimonial:hover {
    transform: scale(1.02);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial p:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    font-weight: 700;
    color: var(--accent);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.contact-form.animate {
    transform: translateY(0);
    opacity: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 168, 197, 0.2);
    outline: none;
}

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

/* Floating Elements */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Footer */
footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--accent), var(--secondary));
}

.social-links {
    margin: 30px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    margin: 0 10px;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}
/* Add these new styles to your existing CSS file */

/* Icon Styles */
.icon-container {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--accent);
    display: inline-block;
}

.service-item:hover .icon-container i {
    animation: pulse 1s infinite;
}

/* Social Icons Animation */
.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2);
}

/* Floating Animation */
.floating-icon {
    animation: floating 3s ease-in-out infinite;
}

/* Qualification Icons */
.qualifications-list li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Form Icons */
.form-group label i {
    margin-right: 8px;
    color: var(--accent);
}

/* Star Ratings */
.testimonial i.fas.fa-star {
    color: gold;
    margin-bottom: 10px;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Header Logo Icon */
.logo i {
    margin-right: 10px;
    color: var(--accent);
}

/* Navigation Icons */
.nav-links a i {
    margin-right: 8px;
}
/* Form Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

#form-message {
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
}

#form-message.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading spinner */
.fa-spinner {
    margin-right: 8px;
}

/* Font Awesome Base Styles */
.fas, .far, .fab {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Icon Container */
.icon-container {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--accent);
}

/* Navigation Icons */
.nav-links a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Social Icons */
.social-links a i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2);
}

/* Star Ratings */
.stars i {
    color: gold;
    margin: 0 2px;
}

/* Form Icons */
.form-group label i {
    margin-right: 8px;
    color: var(--accent);
}

/* Floating Animation */
.floating-icon {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Qualification Icons */
.qualifications-list li i {
    color: var(--accent);
    margin-right: 10px;
    width: 20px;
}

/* Header Logo Icon */
.logo i {
    margin-right: 10px;
    color: var(--accent);
}

/* Section Title Icons */
h2 i {
    margin-right: 15px;
}
/* Social Icons Fix */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: var(--white);
}

/* Make sure Font Awesome icons are visible */
.fab {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}   
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    padding-top: 80px;
}

.hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for better text contrast */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
}

/* Adjust the floating icon */
.floating-icon {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-banner {
        background-position: 60% center;
    }
}
.story-image {
    border: 10px solid var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.story-image:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 100%;
    border: 5px solid var(--accent);
    border-radius: 5px;
    top: -15px;
    left: -15px;
    z-index: -1;
    opacity: 0.7;
}


.modern-footer {
    background-color: #ffffff;
    color: #333;
    padding: 40px 0 0;
    font-family: 'Open Sans', sans-serif;
    border-top: 3px solid #e8c4c4;
}

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

.footer-brand {
    max-width: 300px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 2.5rem;
    color: #d4a373;
    margin-right: 15px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.footer-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    background-color: #d4a373;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #a98467;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after, .footer-contact h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #d4a373;
}

.footer-links ul, .contact-info {
    list-style: none;
    padding: 0;
}

.footer-links li, .contact-info li {
    margin-bottom: 10px;
}

.footer-links a, .contact-info a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .contact-info a:hover {
    color: #d4a373;
}

.contact-info i {
    color: #d4a373;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-cta {
    display: inline-block;
    background-color: #d4a373;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s;
    font-weight: 600;
}

.footer-cta:hover {
    background-color: #a98467;
    transform: translateY(-2px);
}

.footer-bottom {
    background-color: #e8c4c4;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    color: #333;
}

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: #666;
    margin: 0 10px;
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links, .footer-contact {
        text-align: center;
    }
    
    .footer-links h4:after, .footer-contact h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
}
