/* Root Variables */
:root {
    --primary-color: #3B1D51; /* Royal purple */
    --secondary-color: #6A3A7B; /* Supporting tone */
    --accent-color: #855B92; /* Accent lighter purple */
    --neutral-light: #FAF3F5; /* Softened for portfolio section */
    --text-dark: #2C3E50;
    --white: #FFFFFF;
    --footer-background: #52305D; /* Slight variation for better separation */
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s;
}

.nav.scrolled {
    background: rgba(44, 62, 80, 0.95);
}

#brand a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

#menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

#menu li a {
    text-decoration: none;
    font-size: 1rem;
    color: var(--neutral-light);
    position: relative;
    transition: color 0.3s;
}

#menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease-in-out;
}

#menu li a:hover {
    color: var(--white);
}

#menu li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-container {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-container .header {
    z-index: 2;
    padding: 0 20px;
}

.hero-container h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-container p {
    font-size: 1.2rem;
}

/* Section Titles */
.section-title, .vision-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 2rem 0;
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 2rem;
    background: var(--neutral-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Vision Section */
.vision {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--neutral-light), #e9ecef);
    text-align: center;
}

.vision-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0 auto 3rem auto;
    max-width: 700px;
}

.vision-pillars {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--white); /* Make the icon color white for better visibility */
    background: linear-gradient(135deg, #7A457D, #613463); /* Keep the background consistent */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.pillar-icon:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #613463, #4E2957); /* Keep hover effect */
}

.pillar span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Call-to-Action Section */
.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta .btn {
    padding: 0.8rem 1.5rem;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--footer-background);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.footer h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-details {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.footer-details a {
    color: var(--white);
    text-decoration: underline;
}

.footer-details a:hover {
    color: var(--secondary-color);
}
