/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #EBE8E7; /* Updated to palette color */
}

/* Header Styles */
.header {
    background: rgb(255 255 255); /* Semi-transparent palette color */
    backdrop-filter: blur(10px);
    color: #333;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(122, 119, 185, 0.2); /* Purple shadow */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #7A77B9; /* Purple text */
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #7A77B9; /* Purple hamburger */
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger:hover span {
    background: #EA7186; /* Coral hover */
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.nav-menu li a:hover {
    color: #EA7186; /* Coral hover */
    background: rgba(189, 157, 234, 0.1); /* Light purple background */
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #EA7186;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-menu li a:hover::after {
    width: 80%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(235, 232, 231, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    animation: slideDown 0.3s ease-out;
    border-top: 2px solid #BD9DEA; /* Light purple border */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem;
}

.mobile-menu ul li {
    margin: 1rem 0;
}

.mobile-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu ul li a:hover {
    background: rgba(189, 157, 234, 0.2); /* Light purple hover */
    color: #EA7186; /* Coral text */
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #BD9DEA 0%, #7A77B9 50%, #EA7186 100%); /* Palette gradient */
    color: white;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(122, 119, 185, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 199, 110, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 3rem 0;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #7A77B9; /* Purple heading */
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(122, 119, 185, 0.15);
    transition: all 0.3s;
    border-left: 4px solid #EA7186; /* Coral accent */
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #BD9DEA, #F2C76E);
    border-radius: 0 0 0 60px;
    opacity: 0.1;
}

.service-card:nth-child(even) {
    border-left-color: #7A77B9; /* Alternate purple accent */
}

.service-card:nth-child(3n) {
    border-left-color: #F2C76E; /* Golden accent */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(122, 119, 185, 0.25);
    border-left-width: 6px;
}

.service-card h3 {
    color: #7A77B9; /* Purple heading */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card:nth-child(even) h3 {
    color: #EA7186; /* Alternate coral heading */
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.service-card ul {
    margin-top: 1rem;
    padding-left: 1rem;
}

.service-card ul li {
    margin: 0.5rem 0;
    color: #666;
    position: relative;
}

.service-card ul li::before {
    /*content: '✓';*/
    color: #F2C76E; /* Golden checkmarks */
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.service-card a {
  text-decoration: none;
  color: inherit;
  
}

.service-card a:hover {
  text-decoration: none;
  color: inherit;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: white;
    margin: 3rem 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(122, 119, 185, 0.1);
    border-top: 4px solid #BD9DEA; /* Light purple accent */
}

.about-content {
    padding: 2rem;
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #7A77B9; /* Purple heading */
    font-weight: 600;
}

.about-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.about-content > p b {
    color: #EA7186; /* Coral emphasis */
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(189, 157, 234, 0.1) 0%, rgba(242, 199, 110, 0.1) 100%);
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #BD9DEA;
    background: linear-gradient(135deg, rgba(189, 157, 234, 0.15) 0%, rgba(242, 199, 110, 0.15) 100%);
}

.feature-item:nth-child(even):hover {
    border-color: #EA7186;
}

.feature-item h4 {
    color: #7A77B9; /* Purple heading */
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item:nth-child(even) h4 {
    color: #EA7186; /* Alternate coral heading */
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #7A77B9 0%, #BD9DEA 100%); /* Purple gradient */
    color: white;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    cursor: pointer;
    display: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(122, 119, 185, 0.4);
    z-index: 1000;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(122, 119, 185, 0.6);
    background: linear-gradient(135deg, #EA7186 0%, #F2C76E 100%); /* Hover gradient */
}

.back-to-top.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #7A77B9 0%, #BD9DEA 100%); /* Purple gradient */
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EA7186 0%, #F2C76E 50%, #BD9DEA 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: #F2C76E; /* Golden headings */
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-section p, .footer-section a {
    color: #EBE8E7; /* Light text */
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    line-height: 1.6;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #F2C76E; /* Golden hover */
}

.footer-section strong {
    color: #EA7186; /* Coral emphasis */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(235, 232, 231, 0.3);
    margin-top: 3rem;
    color: #EBE8E7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services h2 {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .about-content {
        padding: 1rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* Additional Animations */
.service-card, .feature-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative Elements */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #BD9DEA 100%);
    transition: width 0.3s;
}

.service-card:hover::after {
    width: 100%;
}

/* Focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #EA7186; /* Coral focus */
    outline-offset: 2px;
}

/* Floating decorative elements */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: rgba(242, 199, 110, 0.3);
    border-radius: 50%;
    animation: bounce 4s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Additional hover effects */
.feature-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,#EA7168, #EBE8E7, #7A77B9);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item {
    position: relative;
    z-index: 1;
}