/* ========================================
   VISTWIN SOLUTION - CUSTOM DESIGN SYSTEM
   Modern, Responsive UI Design
   ======================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    --primary: #FF6B8A;
    --primary-dark: #D95770;
    --primary-light: #FFB3C6;
    --secondary: #6C63FF;
    --dark: #342E3A;
    --light: #FFFFFF;
    --gray: #6C757D;
    --gray-light: #F8F9FA;
    --success: #28A745;
    --info: #17A2B8;
    --warning: #FFC107;
    --danger: #DC3545;
    
    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --border-radius: 12px;
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #FFFFFF;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== HERO CAROUSEL ========== */
.hero-carousel-wrapper {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 46, 58, 0.85), rgba(255, 107, 138, 0.75));
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 8px 20px rgba(255, 107, 138, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 138, 0.5);
}

.hero-buttons .btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Carousel Controls - Premium Modern Design */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.95;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.carousel-control-prev {
    left: 40px;
}

.carousel-control-next {
    right: 40px;
}

.carousel-control-prev::before,
.carousel-control-next::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.carousel-control-prev:hover::before,
.carousel-control-next:hover::before {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 1;
    transform: translateY(-50%) scale(1.2) rotate(5deg);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-control-prev:hover {
    transform: translateY(-50%) scale(1.2) rotate(-5deg);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 28px;
    height: 28px;
    filter: invert(0.3) sepia(1) saturate(5) hue-rotate(220deg) brightness(0.8);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.2);
}

/* Animated glow effect */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4), 0 0 30px rgba(102, 126, 234, 0.3);
    }
}

.carousel-control-prev,
.carousel-control-next {
    animation: glowPulse 3s infinite;
}

/* Add arrow bounce animation on hover */
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@keyframes arrowBounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.carousel-control-prev:hover .carousel-control-prev-icon {
    animation: arrowBounce 0.6s ease infinite;
}

.carousel-control-next:hover .carousel-control-next-icon {
    animation: arrowBounceRight 0.6s ease infinite;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: var(--transition);
}

.carousel-indicators .active {
    width: 40px;
    border-radius: 10px;
    background: white;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.feature-card {
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Individual card styling - Clean white cards with colored accents */
/* First Row */
.feature-card:nth-child(1) {
    background: #ffffff;
    border-left: 4px solid #667eea;
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card:nth-child(1):hover {
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.feature-card:nth-child(2) {
    background: #ffffff;
    border-left: 4px solid #f093fb;
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.feature-card:nth-child(2):hover {
    box-shadow: 0 25px 50px rgba(240, 147, 251, 0.2);
}

.feature-card:nth-child(3) {
    background: #ffffff;
    border-left: 4px solid #4facfe;
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.feature-card:nth-child(3):hover {
    box-shadow: 0 25px 50px rgba(79, 172, 254, 0.2);
}

/* Second Row */
.row:nth-child(2) .feature-card:nth-child(1) {
    background: #ffffff;
    border-left: 4px solid #fa709a;
}

.row:nth-child(2) .feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.row:nth-child(2) .feature-card:nth-child(1):hover {
    box-shadow: 0 25px 50px rgba(250, 112, 154, 0.2);
}

.row:nth-child(2) .feature-card:nth-child(2) {
    background: #ffffff;
    border-left: 4px solid #30cfd0;
}

.row:nth-child(2) .feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.row:nth-child(2) .feature-card:nth-child(2):hover {
    box-shadow: 0 25px 50px rgba(48, 207, 208, 0.2);
}

.row:nth-child(2) .feature-card:nth-child(3) {
    background: #ffffff;
    border-left: 4px solid #a8edea;
}

.row:nth-child(2) .feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.row:nth-child(2) .feature-card:nth-child(3):hover {
    box-shadow: 0 25px 50px rgba(168, 237, 234, 0.2);
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon i {
    font-size: 42px;
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-card:hover .feature-icon i {
    transform: scale(1.15);
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.feature-card:hover h4 {
    transform: scale(1.05);
    color: #667eea;
}

.feature-card p {
    color: #666;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.8;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-images {
    position: relative;
}

.about-image-main {
    position: relative;
    margin-bottom: 30px;
}

.about-image-main img {
    border-radius: var(--border-radius);
    width: 100%;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-content h3 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
}

.badge-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-content {
    padding-left: 30px;
}

.about-features {
    margin: 30px 0;
}

.about-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.about-feature-item i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-feature-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.about-feature-item p {
    color: var(--gray);
    margin: 0;
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 10;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Individual service card colors */
.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.15) rotate(2deg);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

/* Individual overlay colors */
.service-card:nth-child(1) .service-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
}

.service-card:nth-child(2) .service-overlay {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.95), rgba(245, 87, 108, 0.95));
}

.service-card:nth-child(3) .service-overlay {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.95), rgba(0, 242, 254, 0.95));
}

.service-card:nth-child(4) .service-overlay {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.95), rgba(56, 249, 215, 0.95));
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 70px;
    color: white;
    animation: iconBounce 0.6s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.service-content {
    padding: 30px 25px;
}

.service-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h4 {
    color: #667eea;
}

.service-content p {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 14.5px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-features li {
    color: #4a5568;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
    color: #667eea;
}

.service-features li i {
    color: #48bb78;
    font-size: 12px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.1);
}

.service-link:hover {
    gap: 15px;
    background: rgba(102, 126, 234, 0.2);
    color: #764ba2;
    text-decoration: none;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-carousel-wrapper {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-prev:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .carousel-control-next:hover {
        transform: translateY(-50%) scale(1.1);
    }
    
    .features-section {
        padding: 60px 0;
        margin-top: -60px;
    }
    
    .about-section,
    .services-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-badge {
        right: 15px;
        padding: 20px;
    }
    
    .badge-content h3 {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 60px 0;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .about-image-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== UTILITY CLASSES ========== */
.rounded-lg {
    border-radius: var(--border-radius) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.g-4 {
    gap: 1.5rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideInUp 0.8s ease-out;
}


/* ========== PROJECT CARDS ========== */
.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 138, 0.95), rgba(108, 99, 255, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 30px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-overlay-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-overlay-content p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.project-info {
    padding: 25px;
}

.project-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.project-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-meta .badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ========== GALLERY STYLES ========== */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    height: 350px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* ========== CONTACT PAGE ========== */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form .form-control {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 138, 0.25);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    background: var(--primary);
    border: none;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 138, 0.4);
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-header h1,
.page-header h3 {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: white;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== AUTH PAGES ========== */
.auth-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card .card-body {
    padding: 50px;
}

.auth-card h3 {
    font-weight: 700;
    color: var(--dark);
}

.auth-card .form-control {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: var(--transition);
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 138, 0.25);
}

.auth-card .input-group-text {
    background: white;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.auth-card .input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.auth-card .btn-primary {
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--primary);
    border: none;
    transition: var(--transition);
}

.auth-card .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 138, 0.3);
}

/* ========== DASHBOARD ========== */
.dashboard-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.dashboard-card .card-body {
    padding: 40px 30px;
    text-align: center;
}

.dashboard-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-card h5 {
    color: var(--dark);
    font-weight: 700;
    margin: 20px 0 10px;
}

.dashboard-card p {
    color: var(--gray);
    margin: 0;
}

/* ========== RESPONSIVE IMPROVEMENTS ========== */
@media (max-width: 991px) {
    .project-image {
        height: 250px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .auth-card .card-body {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .project-image {
        height: 220px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .auth-card .card-body {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 80px 0 60px;
    }
}

@media (max-width: 575px) {
    .project-info {
        padding: 20px;
    }
    
    .project-overlay {
        padding: 20px;
    }
    
    .gallery-item {
        height: 250px;
    }
}


/* ========== CONTACT PAGE STYLES ========== */
.contact-info-wrapper {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.contact-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 24px;
    color: white;
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-info-content p {
    color: var(--gray);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-content a:hover {
    color: var(--primary);
}

.social-links h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 18px;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.map-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.map-container h3 {
    font-weight: 700;
    color: var(--dark);
}

.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ========== LOGIN/SIGNUP PAGES ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-light), #fff);
    padding: 60px 0;
}

.auth-card {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card .card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 30px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.auth-card .card-header h3 {
    color: white;
    margin: 0;
}

.auth-card .input-group-text {
    background: white;
}

.auth-card .input-group-text i {
    color: var(--gray);
}

/* ========== HOMEPAGE DASHBOARD ========== */
.welcome-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.welcome-card h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.welcome-card .lead {
    color: rgba(255, 255, 255, 0.9);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== RESPONSIVE CONTACT PAGE ========== */
@media (max-width: 991px) {
    .contact-info-wrapper {
        margin-bottom: 40px;
    }
    
    .map-container {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-links {
        text-align: center;
    }
    
    .social-links .d-flex {
        justify-content: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .map-container {
        padding: 20px 15px;
    }
    
    .map-wrapper iframe {
        height: 350px !important;
    }
}

@media (max-width: 575px) {
    .contact-info-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-info-icon i {
        font-size: 20px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 16px;
    }
}

/* ========== PASSWORD TOGGLE ========== */
.input-group-append {
    display: flex;
    margin-left: -1px;
}

.input-group-append .input-group-text {
    border-left: 0;
}

.password-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 45px;
    position: relative;
    overflow: hidden;
}

.password-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.password-toggle:hover::before {
    opacity: 1;
}

.password-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.password-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.password-toggle i {
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
    z-index: 1;
}

.password-toggle:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* Ensure password input doesn't have right border radius when toggle is present */
.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Fix input group alignment */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    flex: 1;
}

/* Add focus state for password toggle */
.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Animation for icon change */
@keyframes iconSwitch {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(0.8) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.password-toggle i.switching {
    animation: iconSwitch 0.4s ease;
}

/* ========== FILE UPLOAD STYLING ========== */
.custom-file-upload {
    position: relative;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #ced4da;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.file-upload-label i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    color: #004085;
    font-size: 0.9rem;
}

.file-info i {
    color: var(--primary);
    margin-right: 8px;
}

.btn-remove-file {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-remove-file:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.btn-remove-file i {
    font-size: 1rem;
}

/* File upload active state */
.custom-file-upload input[type="file"]:focus + .file-upload-label {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
