/* 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: #333;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 134, 89, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

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

/* Enhanced Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Hritvi Wellness Brand Colors */
:root {
    --hritvi-gold: #FFD700;
    --hritvi-gold-light: #FFF3CD;
    --hritvi-green: #2D8659;
    --hritvi-green-light: #D4F4DD;
    --hritvi-blue: #1E40AF;
    --hritvi-blue-light: #DBEAFE;
    --hritvi-gray: #F8FAFC;
}

.hritvi-gold {
    background-color: var(--hritvi-gold);
    color: #333;
}

.hritvi-green {
    background-color: var(--hritvi-green);
    color: white;
}

.hritvi-blue {
    background-color: var(--hritvi-blue);
    color: white;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.logo {
    height: 3.5rem;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo:hover {
    transform: scale(1.05);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    background: linear-gradient(135deg, #111827, var(--hritvi-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hritvi-gold), var(--hritvi-green));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--hritvi-green);
    transform: translateY(-2px);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.mobile-link {
    display: block;
    color: #6b7280;
    text-decoration: none;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--hritvi-green), var(--hritvi-blue));
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: float 8s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.85), rgba(30, 64, 175, 0.85));
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-highlight {
    color: var(--hritvi-gold);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--hritvi-gold);
    animation: pulse 2s ease-in-out infinite;
}

.hero-description {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: #f3f4f6;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--hritvi-gold), #FFC107);
    color: #333;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: red;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
}

/* Highlights Section */
.highlights {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    position: relative;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
}

.highlights::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 5%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

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

.highlight-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.03) 0%, transparent 70%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.highlight-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.highlight-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.highlight-description {
    color: #6b7280;
}

/* Roles Section */
.roles {
    padding: 4rem 0;
    background: white;
}

.role-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.category-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

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

.role-card {
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 1.25rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hritvi-gold), var(--hritvi-green), var(--hritvi-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.role-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
}

.role-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--hritvi-gold), #FFC107);
    color: #333;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.role-card:hover .role-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.role-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.role-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.role-link {
    display: flex;
    align-items: center;
    color: var(--hritvi-green);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
}

.role-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.role-card:hover .role-link i {
    transform: translateX(0.25rem);
}

/* Values Section */
.values {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    position: relative;
}

.values::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(45,134,89,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
}

.value-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-description {
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--hritvi-green), var(--hritvi-blue));
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 3rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--hritvi-gold);
}

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

.social-link {
    color: #9ca3af;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--hritvi-gold);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    transform: scale(0.9);
    animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { 
        opacity: 0; 
        transform: scale(0.9) translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,215,0,0.05), rgba(45,134,89,0.05));
    border-radius: 1.5rem 1.5rem 0 0;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--hritvi-green), var(--hritvi-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: rgba(107, 114, 128, 0.1);
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #6b7280;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

/* Role Detail Styles */
.role-detail {
    max-width: none;
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.role-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.role-icon-large {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.role-info {
    flex: 1;
}

.role-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.company-name {
    color: var(--hritvi-gold);
    font-weight: 500;
}

.role-category {
    text-transform: capitalize;
}

.role-section {
    margin-bottom: 2rem;
}

.role-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.role-section p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.125rem;
}

.role-list {
    list-style: none;
    padding: 0;
}

.role-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0;
}

.role-list li i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.role-list li span {
    color: #6b7280;
    line-height: 1.5;
}

.role-cta {
    background: linear-gradient(135deg, var(--hritvi-green-light), var(--hritvi-blue-light));
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.role-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.role-cta p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.application-note {
    background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(45,134,89,0.08));
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,215,0,0.2);
    position: relative;
}

.application-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--hritvi-gold), var(--hritvi-green));
    border-radius: 2px 0 0 2px;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hritvi-gold);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #d1d5db;
}

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

.form-group small {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.form-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95vw;
        margin: 1rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-icon {
        margin-right: 0;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}