/* Enhanced General Styles */
:root {
    --primary-color: #3f51b5;
    --secondary-color: #1a237e;
    --accent-color: #ff4081;
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --success-color: #4caf50;
    --info-color: #00bcd4;
    --warning-color: #ffc107;
    --danger-color: #f44336;
    
    /* Enhanced gradients with more subtle transitions */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-light: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    
    /* Enhanced shadows with more depth */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-hard: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 10px 30px rgba(63, 81, 181, 0.2);
    
    /* Refined transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    /* Typography scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    padding-top: 68px; /* Offset for fixed navbar */
    background-color: #fafafa;
    overflow-x: hidden;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    text-align: justify; 
}

.note {
    font-size: 10px;
    font-family: 'FontAwesome';
    letter-spacing: 2px;
    text-align:center;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover::after {
    width: 100%;
}

/* Enhanced Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Modern Navbar Styles */
.navbar {
    background-color:white;  /* Solid grey color (no transparency) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);  /* Subtle shadow */
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);  /* Solid border */
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Keep the same solid color on scroll */
.navbar.scrolled {
    background-color: #1b0707;  /* Solid grey on scroll (no transparency) */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);  /* Slightly stronger shadow */
    padding: 0.8rem 2rem;  /* Slightly reduced padding on scroll */
}


.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

 /* .navbar-brand:hover {
     transform: scale(1.05); 
}  */

.navbar-brand img {
    margin-right: 12px;
    /* transition: all 0.3s ease; */
    width: 90px;
}

/* .navbar-brand:hover img {
    transform: rotate(360deg);
    border-color: #4facfe;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.3);
} */

.navbar-nav .nav-link {
    color: rgb(44 34 34 / 85%) !important;
    font-weight: 500;
    margin: 0 0.6rem;
    position: relative;
    padding: 0.6rem 1rem !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
   color: #ffe7e7 !important;
    background: rgb(33 138 194);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    background: rgb(26 24 24 / 94%)
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Enhanced Page Header Styles */
.page-header {
    /* background: var(--gradient-dark); */
    background-image:url('/assets/images/gift9.jpg') ;
    /* color: #fff; */
    padding: 4rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 220px;
}

/* .page-header::before {
    content: '';
    position: absolute;
    top: 100%; /* Lowered background image */
    /* left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/gift9.jpg') center/cover no-repeat; */
    /* opacity: 0.2; */
    /* z-index: -1; 
} */

/* .page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
     background: linear-gradient(to top, #fafafa, transparent); 
    z-index: -1;
} */

.page-header h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.page-header .lead {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 2rem auto 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Modern Carousel Styles - Responsive Fixes */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -76px;
}

.hero-carousel {
    height: 100vh;
    min-height: 600px;
}

.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
    transition: transform 1.5s ease-in-out;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    padding-top: 68px;
}

.hero-carousel .carousel-caption {
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent); */
    padding: 4rem 2rem 3rem;
    border-radius: 0;
    max-width: 800px;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    /* backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(5px); */
}

.hero-carousel .carousel-caption h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-carousel .carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Carousel auto-slide and continuous animation */
.hero-carousel {
    overflow: hidden;
}

.hero-carousel .carousel-inner {
    display: flex;
    transition: transform 1.5s ease-in-out;
}

/* Ensure smooth transitions between slides */
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev,
.hero-carousel .carousel-item.active {
    display: block;
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}

/* Enhanced carousel indicators */
.hero-carousel .carousel-indicators {
    bottom: -14px;
    z-index: 15;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Enhanced carousel controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    /* background: rgba(0, 0, 0, 0.3); */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    /* background: rgba(0, 0, 0, 0.5);
    opacity: 1; */
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Continuous carousel animation */
@keyframes continuousSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Auto-slide animation for continuous carousel */
.hero-carousel.auto-slide .carousel-inner {
    animation: continuousSlide 20s linear infinite;
}

.hero-carousel.auto-slide .carousel-inner:hover {
    animation-play-state: paused;
}

/* Clone items for continuous effect */
.hero-carousel.auto-slide .carousel-inner::before,
.hero-carousel.auto-slide .carousel-inner::after {
    content: "";
    display: table;
}

/* Enhanced Card Overlay for Carousel */
/* Enhanced Card Overlay for Carousel */
.modern-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    margin-bottom: 2rem;
    background: #fff;
    height: 100%;
    position: relative;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.modern-card .card-img-top {
    height: 300px;
    object-fit: cover;
    transition: transform 0.7s ease;
    width: 100%;
}

.modern-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 1.5rem;
    transform: translateY(0);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Enhanced Serial number styling */
.serial-number {
    position: absolute;
    top: -206px;
    right: 1px;
    background: var(--gradient-accent);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-overlay .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



/* Enhanced Featured Section Styles */
.featured-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
    z-index: 0;
}

.featured-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 2rem auto 4rem;
    text-align: center;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 2.5rem;
    background: #fff;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hard);
}

.featured-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-item:hover img {
    transform: scale(1.08);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.featured-item:hover .featured-overlay {
    transform: translateY(0);
}

.featured-overlay h5 {
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.featured-overlay p {
    font-size: 1rem;
    margin: 0;
}

/* Enhanced CTA Section Styles */
.cta-section {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://picsum.photos/seed/cta/1920/600.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-section .lead {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Button Styles */
.btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(79, 172, 254, 0.4);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Enhanced About Page Styles */
.feature-box {
    padding: 3rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-accent);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
    background: rgba(63, 81, 181, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(63, 81, 181, 0.1);
}

.feature-box:hover .feature-icon {
    background: var(--gradient-accent);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

.team-member {
    margin-bottom: 2.5rem;
}

.team-member img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-hard);
}

/* Enhanced Stats Section Styles */
.stats-section {
    background: var(--gradient-dark);
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://picsum.photos/seed/stats/1920/600.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h2 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-info {
    background: #fff;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1.6rem;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.contact-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
    background-color: #fff;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 650;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.map-container {
    height: 650px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-item {
    border: none;
    margin-bottom: 0.5rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background: #fff;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    filter: invert(0.7);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Enhanced Ventures Page Styles */
.venture-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-accent);
    z-index: 1;
}

.venture-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hard);
}

.venture-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.7s ease;
    width: 100%;
}

.venture-card:hover img {
    transform: scale(1.08);
}

.venture-card .card-body {
    padding: 2.5rem;
}

.venture-card .card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-accent);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--light-color);
    box-shadow: var(--shadow-soft);
}

.author-info h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.author-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Enhanced Footer Styles */
.footer {
    /* background: var(--gradient-dark); */
    /* color: #fff; */
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/footer4.jpg') center/cover no-repeat;
    /* opacity: 0.05; */
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
    padding-left:30px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 58px;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
}

.footer p {
    color: white;
    margin-bottom: 2rem;
}

.footer ul {
    padding-left: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 1rem;
    color:white;
}

.footer ul li a {
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left:63px;
}

.footer ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
    
}
 
.footer a{
    color:yellow;
}
.footer ul li a:hover::before {
    width: 100%;
}

.footer .social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer .social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

/* Enhanced Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(63, 81, 181, 0.2);
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: #fff;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    font-size: 1.6rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hard);
}

/* Enhanced Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-carousel .carousel-caption h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .cta-section h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 991.98px) {
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .hero-carousel .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .cta-section h2 {
        font-size: 2.4rem;
    }
    
    .stat-item h2 {
        font-size: 3.2rem;
    }
    
    .featured-item img {
        height: 220px;
    }
    
    .venture-card img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        /* padding: 5rem 0 3rem; */
    }
    
    .page-header h1 {
        font-size: 2.4rem;
    }
    
    .hero-section {
        margin-top: -76px;
    }
    
    .hero-carousel {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-carousel .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-carousel .carousel-caption {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .hero-carousel .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-carousel .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .cta-section .lead {
        font-size: 1.2rem;
    }
    
    .stats-section {
        padding: 4rem 0;
    }
    
    .stat-item h2 {
        font-size: 2.8rem;
    }
    
    .featured-section {
        padding: 4rem 0;
    }
    
    .featured-item img {
        height: 200px;
    }
    
    .venture-card img {
        height: 200px;
    }
    
    .footer {
        padding: 4rem 0 2rem;
    }
    
    /* Contact page responsive adjustments */
    .contact-section .row {
        flex-direction: column;
    }
    
    .contact-section .col-lg-4,
    .contact-section .col-lg-8 {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    /* Reduce space between sections */
    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .row.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .text-center.mt-5 {
        margin-top: 2rem !important;
    }
}

@media (max-width: 575.98px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1.2rem;
    }
    
    .hero-section {
        margin-top: -76px;
    }
    
    .hero-carousel {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-carousel .carousel-item {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-carousel .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .hero-carousel .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section .lead {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .stat-item h2 {
        font-size: 2.4rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    .featured-item img {
        height: 180px;
    }
    
    .venture-card img {
        height: 180px;
    }
    
    .venture-card .card-body {
        padding: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.3rem;
    }
    
    /* Further reduce space on mobile */
    section.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .row.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .text-center.mt-5 {
        margin-top: 1.5rem !important;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Enhanced Carousel Responsive Enhancements */
@media (max-width: 767px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
        margin-top: 258px;
         background-color: #091348; 
        border-radius: 20%;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

/* Enhanced Touch-friendly enhancements for mobile */
@media (hover: none) {
    .featured-item:hover .featured-overlay {
        transform: translateY(0);
    }
    
    .featured-item:hover img {
        transform: scale(1);
    }
    
    .venture-card:hover img {
        transform: scale(1);
    }
    
    .venture-card:hover {
        transform: translateY(0);
    }
    
    .feature-box:hover {
        transform: translateY(0);
    }
    
    .btn:hover {
        transform: translateY(0);
    }
}

/* Enhanced Horizontal Venture Card Styles */
.venture-card-horizontal {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.venture-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-accent);
    z-index: 1;
}

.venture-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.venture-image-container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.venture-image {
    width: 70%;
    height: 88%;
    object-fit: cover;
    transition: transform 0.7s ease;
    padding-top: 15px;
    border: black;
    border-radius: 0%;
    box-shadow: var(--shadow-hard);
    margin-left: 54px;
}

.venture-card-horizontal:hover .venture-image {
    transform: scale(1.05);
}

.venture-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.venture-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
    position: relative;
}

.venture-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.venture-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #6c757d;
    flex-grow: 1;
}

.venture-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.feature-item i {
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.95rem;
}

.venture-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-container span {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.price-container h4 {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Enhanced Responsive adjustments for horizontal cards */
@media (max-width: 767.98px) {
    .venture-card-horizontal {
        margin-bottom: 2rem;
    }
    
    .venture-image-container {
        height: 250px;
    }
    
    .venture-content {
        padding: 2rem;
    }
    
    .venture-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .venture-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .venture-features {
        margin-bottom: 1.2rem;
    }
    
    .feature-item {
        margin-bottom: 0.6rem;
    }
    
    .venture-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .price-container h4 {
        font-size: 1.5rem;
    }
}

/* Enhanced Accessibility Features */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #000080;
        --accent-color: #ff00ff;
        --light-color: #ffffff;
        --dark-color: #000000;
    }
    
    .navbar {
        background: #000080;
    }
    
    .btn-primary {
        background: #0000ff;
        color: #ffffff;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #212121;
        --dark-color: #f5f5f5;
    }
    
    body {
        background-color: #121212;
        color: var(--dark-color);
    }
    
    .modern-card,
    .featured-item,
    .venture-card,
    .testimonial-card,
    .contact-info,
    .contact-form {
        background: #1e1e1e;
        color: var(--dark-color);
    }
    
    .form-control,
    .form-select {
        background-color: #2a2a2a;
        color: var(--dark-color);
        border-color: #444;
    }
    
    .accordion-button {
        background: #2a2a2a;
        color: var(--dark-color);
    }
    
    .accordion-body {
        background-color: #1e1e1e;
    }
}

/* Enhanced responsive image handling for modern cards */
/* Enhanced responsive image handling for modern cards */
@media (max-width: 767px) {
    .modern-card .card-img-top {
        height: 200px;
        object-fit: cover;
    }
    
    .card-overlay {
        padding: 1rem;
    }
    
    .card-overlay .card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .modern-card .card-img-top {
        height: 337px;
        object-fit: cover;
    }
    
    .card-overlay {
        padding: 0.8rem;
    }
    
    .card-overlay .card-title {
        font-size: 1rem;
    }
    
    .serial-number {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        top: -294px;
        right: 1px;
    }
}


/* Default adjustment (optional) */
.about-story-img {
    max-width: 196px;   
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .about-story-img {
        max-width: 150px;
    }
}

/* Small screens (phones) */
@media (max-width: 576px) {
    .about-story-img {
        max-width: 120px;
    }
}
