/* Move all common CSS here */
body { 
    font-family: 'Poppins', sans-serif; 
    scroll-behavior: smooth; 
}

/* Menu styles */
.menu-gradient {
    background: linear-gradient(90deg, #00ACB4 20%, #FF6600 80%);
}
/* Update this in styles/main.css */
.menu-item {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    
    /* This makes it a rounded rectangle/pill */
    border-radius: 50px !important; 
    
    /* This makes the border visible all the time */
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    
    /* Text color */
    color: white !important;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover state: makes the box solid white */
.menu-item:hover {
    background-color: white !important;
    color: #FF6600 !important; /* Your primary orange color */
    border-color: white !important;
}

/* --- Sophisticated Golden Standout Button --- */

.menu-item.bg-white {
    /* Premium Gold Gradient */
    background: linear-gradient(135deg, #FFD7ff 0%, #D4AF37 100%) !important;
    
    /* Dark text for high contrast against gold */
    color: #333 !important; 
    border: none !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    
    /* Soft amber shadow instead of harsh black */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    
    /* Smooth movement */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Hover Animation: Soft Shine & Lift */
.menu-item.bg-white:hover {
    /* Gentle lift */
    transform: translateY(-3px) scale(1.03) !important;
    
    /* Brightens the gold slightly */
    background: linear-gradient(135deg, #FFE44D 0%, #FFD700 100%) !important;
    
    /* Increases the glow */
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5) !important;
    
    color: #000 !important;
}

/* Click Effect */
.menu-item.bg-white:active {
    transform: translateY(-1px) scale(1.01) !important;
}
 

/* Logo styles */
.logo-circle {
    border-radius: 50%;
    width: 2.6cm;
    height: 2.6cm;
    object-fit: cover;
}

/* Mission/Vision cards */
.mission-card {
    transition: all 0.3s ease;
}
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Trust name styling */
.trust-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    background: linear-gradient(90deg, #FF6600 0%, #00ACB4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Mission/Vision layout */
.mission-content {
    display: flex;
    align-items: flex-start;
}
.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.2);
}
.mission-text {
    flex: 1;
}
.mission-divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 15px 0;
}

/* Mission themes */
.vision-theme {
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 102, 0, 0.3);
}

.mission-theme {
    background: rgba(0, 172, 180, 0.15);
    border: 1px solid rgba(0, 172, 180, 0.3);
}

/* Add page-specific styles here */
/* Carousel styles */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}
.carousel-slide {
    display: none;
    width: 100%;
    border-radius: 16px;
}
.carousel-slide.active {
    display: block;
}
.carousel-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
.indicator.active {
    background-color: white;
}
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}
.carousel-control:hover {
    background: rgba(0, 0, 0, 0.6);
}
.carousel-control.prev {
    left: 15px;
}
.carousel-control.next {
    right: 15px;
}

/* Additional styles */
.card-hover:hover { 
    transform: translateY(-10px); 
    transition: all 0.3s ease; 
}
.gradient-bg { 
    background: linear-gradient(135deg, #00ACB4 0%, #008a91 100%); 
}

/* Project card styles */
.project-card {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    max-width: 540px;
    margin: 0 auto;
    padding: 3px; /* Outer gradient line thickness */
}
.card-inner {
    background: white;
    border-radius: 13px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border: 2px solid white; /* Inner line / gap effect */
}
.project-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
}
.project-image { 
    width: 100%; 
    height: 280px; 
    object-fit: cover; 
}

/* Category badges */
.category-badge {
    position: absolute;
    top: 15px; 
    left: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
    z-index: 10;
}


.education-badge {    background-color: #1E2952; }
.medical-badge  {    background-color: #29AB87; }
.child-welfare-badge {    background-color: #9400d3; }
.religious-badge {     background-color: #FF6600; }
.women-badge {     background-color: #00ACB4; }
.rural-dev-badge {     background-color: #BE0032; }
  
 


/* Project title styling */
.project-title {
    font-size: .85rem;
    font-weight: 700;
    color: #2D3436;
    padding: 4px 8px;
    text-align: center;
}
.card-religious .project-title { 
    background: rgba(255, 102, 0, 0.05); 
    border-left: 4px solid #FF6600; 
}
.card-women .project-title { 
    background: rgba(0, 172, 180, 0.05); 
    border-left: 4px solid #00ACB4; 
}

/* Project details */
.project-details-line { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding-top: 5px; 
}
.date-badge {
    display: flex; 
    flex-direction: column;
    color: white; 
    padding: 6px 10px;
    border-radius: 8px; 
    font-size: 0.75rem;
    text-align: center; 
    min-width: 60px;
}
.card-religious .date-badge { 
    background: #FF6600; 
}
.card-women .date-badge { 
    background: #00ACB4; 
}
.project-description { 
    flex: 1; 
    color: #4b5563; 
    font-size: 0.8rem; 
    line-height: 1.4; 
}
.view-details-badge {
    color: white; 
    padding: 4px 10px;
    border-radius: 20px; 
    font-size: 0.7rem; 
    font-weight: 600;
}
.card-religious .view-details-badge { 
    background: #FF6600; 
}
.card-women .view-details-badge { 
    background: #00ACB4; 
}

/* Animated button */
.animated-button {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    background-color: #FF6600; 
    color: white;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
    animation: pulse-orange 2s infinite;
}
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 102, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

/* Pillar icons */
.pillar-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 12px;
    font-size: 28px;
    border: 2px solid;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.pillar-icon-orange {
    background-color: #FFF5EB;
    color: #FF6600;
    border-color: #FF6600;
}
.pillar-icon-teal {
    background-color: #E6F7F8;
    color: #00ACB4;
    border-color: #00ACB4;
}

/* Empowering Lives styling */
.empowering-text {
    color: #FF6600;
}

/* Preserving Dharma styling */
.preserving-text {
    color: #00ACB4;
}

/* Testimonial cards */
.testimonial-card {
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6600 0%, #00ACB4 100%);
}

/* Social media combined icon/text */
.social-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Email link styling */
.email-link {
    color: #00ACB4;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}
.email-link:hover {
    color: #FF6600;
}

/* Beveled image styling */
.beveled-image {
    border-radius: 16px;
    box-shadow: 6px 6px 12px rgba(0,0,0,0.3), 
                -3px -3px 6px rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
}

/* Sticky Social Sidebar with Brand Colors */
.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}
.sidebar-icon {
    width: 42px;
    height: 42px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.sidebar-icon:hover { 
    transform: scale(1.15); 
    filter: brightness(1.1); 
}
.bg-facebook { background-color: #1877F2; }
.bg-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.bg-youtube { background-color: #FF0000; }
.bg-x { background-color: #000000; }		
.bg-linkedin {
    background-color: #0077b5; /* LinkedIn brand color */
}

/* Updated Footer Logo Size */
.footer-logo { 
    border-radius: 50%; 
    width: 5.4cm; 
    height: 5.4cm; 
    object-fit: cover; 
}

/* Footer Heading Color */
.footer-heading { 
    color: #00ACB4; 
    font-weight: 700; 
    margin-bottom: 1rem; 
    display: block; 
}

/* Section styling */
.section-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Objective cards */
.objective-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.objective-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Document cards */
.document-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Modal for documents */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    margin-top: 5%;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Blog cards */
.blog-card { 
    transition: 0.3s; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}
.blog-card:hover { 
    transform: translateY(-10px); 
}


/* Gradient Border Utility with Two-Line Effect */
.project-card-main {
	position: relative;
	transition: all 0.3s ease;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	max-width: 540px;
	margin: 0 auto;
	padding: 3px; /* Outer gradient line thickness */
}

.project-card-inner {
	background: white;
	border-radius: 13px;
	height: 100%;
	width: 100%;
	overflow: hidden;
	border: 2px solid white; /* Inner line / gap effect */
}

.project-card-main:hover { 
	transform: translateY(-5px); 
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
}

.project-image-main { width: 100%; height: 280px; object-fit: cover; }

.project-category-badge {
	position: absolute;
	top: 15px; left: 15px;
	padding: 4px 12px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.75rem;
	color: white;
	z-index: 10;
}
.project-religious-badge { background-color: #FF6600; }
.project-women-badge { background-color: #00ACB4; }
.project-rural-dev-badge { background-color: #BE0032; }
.project-medical-badge { background-color: #29AB87; }
.project-education-badge { background-color: #1E2952; }
.project-child-welfare-badge { background-color: #9400d3; }

 
.project-title-main {
	font-size: .85rem;
	font-weight: 700;
	color: #2D3436;
	padding: 4px 8px;
	text-align: center;
}

.project-card-religious .project-title-main { background: rgba(255, 102, 0, 0.05); border-left: 4px solid #FF6600; }
.project-card-women .project-title-main { background: rgba(0, 172, 180, 0.05); border-left: 4px solid #00ACB4; }
.project-card-rural-dev .project-title-main { background: rgba(190, 0, 50, 0.05); border-left: 4px solid #BE0032; }
.project-card-medical .project-title-main { background: rgba(141, 171, 145, 0.09); border-left: 4px solid #29AB87; }
.project-card-education .project-title-main { background: rgba(232,244,248, 1); border-left: 4px solid #1E2952; }
.project-card-child-welfare .project-title-main { background: rgba(148, 0, 211, 0.05); border-left: 4px solid #9400d3; }

.project-details-line { display: flex; align-items: center; gap: 12px; padding-top: 5px; }

.project-date-badge {
	display: flex; flex-direction: column;
	color: white; padding: 6px 10px;
	border-radius: 8px; font-size: 0.75rem;
	text-align: center; min-width: 60px;
}
.project-card-religious .project-date-badge { background: #FF6600; }
.project-card-women .project-date-badge { background: #00ACB4; }
.project-card-rural-dev .project-date-badge { background: #BE0032; }
.project-card-medical .project-date-badge { background: #29AB87; }
.project-card-education .project-date-badge { background: #1E2952; }
.project-card-child-welfare .project-date-badge { background: #9400d3; }

.project-description-main { flex: 1; color: #4b5563; font-size: 0.8rem; line-height: 1.4; }

.project-view-details-badge {
	color: white; padding: 4px 10px;
	border-radius: 20px; font-size: 0.7rem; font-weight: 600;
}
.project-card-religious .project-view-details-badge { background: #FF6600; }
.project-card-women .project-view-details-badge { background: #00ACB4; }
.project-card-rural-dev .project-view-details-badge { background: #BE0032; }
.project-card-medical .project-view-details-badge { background: #29AB87; }
.project-card-education .project-view-details-badge { background: #1E2952; }
.project-card-child-welfare .project-view-details-badge { background: #9400d3; }

.project-animated-button {
	display: inline-block;
	padding: 10px 30px;
	border-radius: 50px;
	font-weight: 600;
	background-color: #FF6600; 
	color: white;
	box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
	animation: pulse-orange 2s infinite;
}
@keyframes pulse-orange {
	0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.4); }
	70% { box-shadow: 0 0 0 10px rgba(255, 102, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

/* Card styling */
/* Renamed Card styling for Testimonials */
.testimonial-card-project {
	transition: all 0.3s ease;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.testimonial-card-project:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.charity-tag-project {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.8rem;
	margin-bottom: 10px;
}
/* --- Support for Header & Mobile Menu --- */
.menu-item {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

[x-cloak] { display: none !important; }

.mobile-toggle-btn {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 640px) {
    .trust-title-text { font-size: 1.1rem !important; }
}


/* --- Desktop: Forced Constraints --- */
.logo-final {
    width: 90px !important;  /* Reduced slightly from 96 to be safe */
    height: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin-right: 15px !important;
    margin-left: -5px !important; /* Slight pull to the left */
}

.trust-title-text {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    max-width: 250px !important;
}

/* --- Mobile: Forced Constraints --- */
@media (max-width: 768px) {
    .logo-final {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        margin-left: -2px !important;
    }

    .trust-title-text {
        font-size: 1.1rem !important;
        max-width: 160px !important;
        /* Re-enforcing white color for mobile specifically */
        color: white !important; 
    }
}
/* --- FREEZE HEADER & LOGO FIX --- */

/* Ensures the header stays on top and has a solid background */
nav {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

/* Push the rest of the page down so it's not hidden under the header */
body {
    padding-top: 110px !important; 
}

/* Ensure the logo stays a circle and doesn't become an oval */
.logo-final {
    width: 90px !important;
    height: 90px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 85px !important; /* Smaller gap for mobile */
    }
    .logo-final {
        width: 60px !important;
        height: 60px !important;
    }
}
