/* Custom CSS for Sainath Metals And Alloys - Vibrant Modern Design */

:root {
    color-scheme: light;
    --primary-color: #0096FF;
    --secondary-color: #6C6C6C;
    --accent-color: #4DB8FF;
    --light-accent: #B3D9FF;
    --soft-blue: #80C7FF;
    --dark-color: #2C2C2C;
    --light-color: #F5F5F5;
    --gradient-1: linear-gradient(135deg, #0096FF 0%, #4DB8FF 50%, #80C7FF 100%);
    --gradient-2: linear-gradient(135deg, #0096FF 0%, #6C6C6C 50%, #F5F5F5 100%);
    --gradient-3: linear-gradient(135deg, #4DB8FF 0%, #80C7FF 50%, #B3D9FF 100%);
    --gradient-4: linear-gradient(135deg, #6C6C6C 0%, #F5F5F5 50%, #B3D9FF 100%);
    --gradient-hero: linear-gradient(135deg, #2C2C2C 0%, #0096FF 30%, #4DB8FF 70%, #80C7FF 100%);
    --gradient-cta: linear-gradient(135deg, #0096FF 0%, #4DB8FF 50%, #6C6C6C 100%);
}

html {
    color-scheme: light;
    background-color: #fafafa;
}

body {
    color-scheme: light;
    background-color: #fafafa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 76px;
    background: #fafafa;
}

/* Navigation */
.navbar {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
}

.navbar:hover {
    box-shadow: 0 6px 30px rgba(0, 150, 255, 0.4);
}

/* Mobile menu toggle button */
.navbar-toggler {
    border: 2px solid rgba(26, 77, 110, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.navbar-toggler:hover::before {
    left: 100%;
}

.navbar-toggler:hover {
    border-color: #1a4d6e;
    background: rgba(26, 77, 110, 0.1);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 77, 110, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 77, 110, 0.25);
    border-color: #1a4d6e;
}

/* Default Bootstrap navbar-toggler-icon - hide it */
.navbar-toggler-icon {
    background-image: none !important;
}

/* Hamburger Icon (Three Lines) */
.navbar-toggler-icon.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.navbar-toggler-icon.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Close Icon (X) */
.navbar-toggler-icon.close-icon {
    display: none !important;
    font-size: 24px;
    color: #000;
    line-height: 1;
    width: 24px;
    height: 24px;
    position: relative;
}

.navbar-toggler-icon.close-icon i {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

/* Show/hide icons based on menu state */
.navbar-toggler[aria-expanded="false"] .hamburger-icon,
.navbar-toggler:not([aria-expanded]) .hamburger-icon {
    display: flex !important;
}

.navbar-toggler[aria-expanded="false"] .close-icon,
.navbar-toggler:not([aria-expanded]) .close-icon {
    display: none !important;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon {
    display: none !important;
}

.navbar-toggler[aria-expanded="true"] .close-icon {
    display: block !important;
}

/* Mobile menu collapse animation */
.navbar-collapse {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-collapse.show {
    animation: slideDown 0.4s ease-out;
}

/* Mobile Menu Close Box */
.mobile-menu-close-box {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background: transparent;
    width: auto;
    height: auto;
    animation: fadeIn 0.3s ease-out;
    transition: all 0.3s ease;
}

.mobile-menu-close-box.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 32px;
    font-weight: bold;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.mobile-close-btn:hover {
    opacity: 0.7;
}

.mobile-close-btn:active {
    opacity: 0.5;
}

.mobile-close-btn i {
    font-weight: bold;
    color: #000000;
}

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

/* Show close box only on mobile when menu is open */
@media (max-width: 991px) {
    .mobile-menu-close-box.show {
        display: flex;
    }
}

@media (min-width: 992px) {
    .mobile-menu-close-box {
        display: none !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-brand .logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .navbar-brand .logo-img {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-brand .logo-img {
        height: 50px;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin: 0 6px;
    padding: 10px 16px !important;
    border-radius: 6px;
    overflow: visible;
    color: #333 !important;
}

/* Background glow effect on hover */
.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

/* Bottom underline removed - no underline for menu items */
.nav-link::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hover effects */
.nav-link:hover {
    color: #1a4d6e !important;
    transform: translateY(-2px);
    background: rgba(26, 77, 110, 0.1);
}

.nav-link:hover::before {
    width: 120%;
    height: 120%;
}

.nav-link:hover::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Active state */
.nav-link.active {
    color: #1a4d6e !important;
    background: rgba(26, 77, 110, 0.1);
}

.nav-link.active::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Smooth transition for all nav items */
.nav-item {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover {
    transform: translateY(-1px);
}

/* Click effect */
.nav-link:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

@keyframes ripple {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(4);
        opacity: 0;
    }
}

/* Staggered animation for mobile menu items */
@media (max-width: 991px) {
    .navbar-nav .nav-item {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item {
        opacity: 1;
        transform: translateX(0);
        animation: slideInLeft 0.3s ease-out;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) {
        animation-delay: 0.05s;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) {
        animation-delay: 0.1s;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) {
        animation-delay: 0.15s;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) {
        animation-delay: 0.2s;
    }
    
    .navbar-collapse.show .navbar-nav .nav-item:nth-child(5) {
        animation-delay: 0.25s;
    }
    
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Ensure nav links are visible in mobile menu */
    .navbar-nav .nav-link {
        color: #333 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar-nav .nav-link:hover {
        color: #1a4d6e !important;
    }
    
    .navbar-nav .nav-link.active {
        color: #1a4d6e !important;
    }
}

/* Smooth focus states */
.nav-link:focus {
    outline: 2px solid rgba(0, 150, 255, 0.5);
    outline-offset: 4px;
    border-radius: 8px;
}

/* Active state enhancement */
.nav-link.active {
    position: relative;
}

/* Smooth menu item entrance */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop menu item entrance animation */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        animation: fadeInDown 0.5s ease-out backwards;
    }
    
    .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .navbar-nav .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.3s; }
}

/* Ripple animation for menu clicks */
@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Professional Dropdown Menu Animations */
.dropdown {
    position: relative;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 220px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    visibility: hidden;
}

/* Keep dropdown open when hovering over dropdown parent or menu */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu,
    .dropdown .dropdown-menu:hover {
        pointer-events: auto;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
    }
    
    /* Add padding to dropdown parent to create hover area */
    .dropdown {
        padding-bottom: 4px;
    }
    
    /* Ensure dropdown menu is positioned correctly */
    .dropdown-menu {
        margin-top: 4px;
    }
    
    /* Smooth transition for hover */
    .dropdown .nav-link.dropdown-toggle:hover + .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

.dropdown-item {
    padding: 12px 24px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 3px solid transparent;
    margin: 2px 8px;
    border-radius: 8px;
}

.dropdown-item:first-child {
    margin-top: 4px;
}

.dropdown-item:last-child {
    margin-bottom: 4px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #0096FF 0%, #4DB8FF 100%);
    transform: scaleY(0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 3px 3px 0;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(0, 150, 255, 0.08) 0%, rgba(128, 199, 255, 0.05) 100%);
    color: #0096FF;
    transform: translateX(5px);
    padding-left: 28px;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:active {
    background: linear-gradient(90deg, rgba(0, 150, 255, 0.15) 0%, rgba(128, 199, 255, 0.1) 100%);
    color: #0096FF;
}

.dropdown-item.active {
    background: linear-gradient(90deg, rgba(0, 150, 255, 0.1) 0%, rgba(128, 199, 255, 0.05) 100%);
    color: #0096FF;
    font-weight: 600;
}

/* Staggered animation for dropdown items */
.dropdown-menu.show .dropdown-item {
    animation: dropdownItemFadeIn 0.3s ease forwards;
    opacity: 0;
}

.dropdown-menu.show .dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}

.dropdown-menu.show .dropdown-item:nth-child(2) {
    animation-delay: 0.1s;
}

.dropdown-menu.show .dropdown-item:nth-child(3) {
    animation-delay: 0.15s;
}

.dropdown-menu.show .dropdown-item:nth-child(4) {
    animation-delay: 0.2s;
}

.dropdown-menu.show .dropdown-item:nth-child(5) {
    animation-delay: 0.25s;
}

.dropdown-menu.show .dropdown-item:nth-child(6) {
    animation-delay: 0.3s;
}

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

/* Dropdown toggle arrow animation */
.dropdown-toggle::after {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-left: 6px;
    display: inline-block;
}

/* Remove bottom underline from dropdown toggle */
.nav-link.dropdown-toggle::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.nav-link.dropdown-toggle:hover::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    box-shadow: none !important;
    animation: none !important;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-toggle:hover::after {
    transform: translateY(1px);
}

.dropdown-toggle[aria-expanded="true"]:hover::after {
    transform: rotate(180deg) translateY(1px);
}

/* Navbar brand animation */
.navbar-brand {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 6px 10px;
    border-radius: 6px;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.navbar-brand:hover {
    transform: scale(1.08) translateY(-1px);
    filter: brightness(1.1);
}

.navbar-brand:hover::before {
    width: 150%;
    height: 150%;
}

.navbar-brand i {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.navbar-brand:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Smooth dropdown backdrop */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu.show::before {
    opacity: 1;
}

/* Image Slider Section */
.slider-section {
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.slider-section .carousel {
    height: 600px;
}

.slider-section .carousel-inner {
    height: 100%;
}

.slider-section .carousel-item {
    height: 600px;
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
}

.slider-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: transform 0.6s ease-in-out;
}

.slider-section .carousel-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.slider-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(42, 31, 61, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 60px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    width: 90%;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slider-section .carousel-caption h2 {
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.slider-section .carousel-caption p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

.slider-section .carousel-control-prev,
.slider-section .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(44, 44, 44, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-section .carousel-control-prev {
    left: 30px;
}

.slider-section .carousel-control-next {
    right: 30px;
}

.slider-section .carousel-control-prev:hover,
.slider-section .carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 150, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 150, 255, 0.5);
}

.slider-section .carousel-control-prev-icon,
.slider-section .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.slider-section .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.slider-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.slider-section .carousel-indicators button.active {
    background: #0096FF;
    border-color: #80C7FF;
    width: 30px;
    border-radius: 6px;
    transform: scale(1.2);
}

.slider-section .carousel-indicators button:hover {
    background: rgba(0, 150, 255, 0.8);
    transform: scale(1.1);
}

/* Hero Section (kept for other pages if needed) */
.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: move-background 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes move-background {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    animation: wave 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

.hero-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite, rotate 20s linear infinite, pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

.hero-image {
    position: relative;
    z-index: 1;
}

/* Hero Buttons */
.hero-btn-primary {
    background: linear-gradient(135deg, #80C7FF 0%, #0096FF 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.4);
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 150, 255, 0.6);
    background: linear-gradient(135deg, #80C7FF 0%, #B3D9FF 50%, #0096FF 100%);
    color: white;
    text-decoration: none;
}

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

.hero-btn-secondary {
    background: rgba(74, 50, 103, 0.8);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.hero-btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(44, 44, 44, 1);
    border-color: #80C7FF;
    color: white;
    box-shadow: 0 10px 25px rgba(44, 44, 44, 0.5);
    text-decoration: none;
}

.hero-btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f0f8ff 100%);
    padding: 80px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-2);
}

.stat-card {
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 0;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 150, 255, 0.4);
    border-color: #0096FF;
}

.stat-card h2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Industries We Serve Section */
.industries-section {
    padding: 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.industries-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Industries List Section */
.industries-list-section {
    background: #f5f5f5;
    padding: 2.5rem 0;
}

.industries-content {
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
}

.industries-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #6BA3D8;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.industries-title .title-bar {
    width: 4px;
    height: 24px;
    background: #FF8C42;
    border-radius: 2px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .industries-section .container-fluid {
        display: flex;
        flex-direction: row;
    }
    
    .industries-list-section {
        background: white;
        padding: 0;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        display: flex;
        align-items: center;
        min-height: 500px;
    }
    
    .industries-content {
        width: 100%;
        padding: 3rem 2rem !important;
        max-width: 100%;
        margin: 0;
    }
    
    .industries-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #0096FF;
        margin-bottom: 3rem;
    }
    
    .industries-title .title-bar {
        display: none;
    }
    
    .industries-list {
        gap: 2rem;
    }
    
    .industry-item {
        padding: 1rem 0;
        background: transparent;
        justify-content: flex-start;
        gap: 1.5rem;
        min-height: auto;
    }
    
    .industries-infrastructure-section {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
        display: block !important;
    }
    
    .industries-bg-image {
        min-height: 500px;
    }
    
    .infrastructure-overlay {
        display: none;
    }
}

.industries-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.industry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 60px;
}

@media (min-width: 769px) {
    .industry-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #0096FF;
        transform: scaleY(0);
        transition: transform 0.3s ease;
        border-radius: 0 2px 2px 0;
    }
}

@media (min-width: 769px) {
    .industry-item:hover,
    .industry-item.active {
        transform: translateX(10px);
        background: rgba(0, 150, 255, 0.05);
        padding-left: 1rem;
        border-radius: 8px;
    }
    
    .industry-item.active::before {
        transform: scaleY(1);
    }
    
    .industry-item.active .industry-icon,
    .industry-item.active .industry-label {
        color: #0096FF;
    }
}

/* Infrastructure Section */
.industries-infrastructure-section {
    width: 100%;
    position: relative;
}

.industries-bg-image {
    width: 100%;
    min-height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infrastructure-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.infrastructure-label {
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.infrastructure-icon {
    font-size: 1.75rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .industries-infrastructure-section {
        display: none;
    }
    
    .industries-bg-image {
        min-height: 500px;
    }
    
    .infrastructure-overlay {
        padding: 3rem 2rem;
    }
    
    .infrastructure-label {
        font-size: 1.5rem;
    }
    
    .infrastructure-icon {
        font-size: 2rem;
    }
}

.industries-image-panel {
    position: relative;
    overflow: hidden;
}

.industries-bg-image {
    width: 100%;
    height: 100%;
    position: relative;
    transition: opacity 0.5s ease-in-out, background-image 0.5s ease-in-out;
}

.industries-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 180, 255, 0.05) 100%);
}

@media (max-width: 992px) {
    .industries-section .row {
        flex-direction: column;
    }
    
    .industries-panel {
        min-height: auto;
        padding: 3rem 0;
        order: 1;
    }
    
    .industries-image-panel {
        order: 2;
    }
    
    .industries-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .industry-label {
        font-size: 1.25rem;
    }
    
    .industry-icon {
        font-size: 1.75rem;
    }
    
    .industries-bg-image {
        min-height: 400px;
    }
    
    .industry-item:hover {
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {
    .industries-list-section {
        background: #f5f5f5;
        padding: 2.5rem 0;
    }
    
    .industries-content {
        padding: 0 1.5rem !important;
    }
    
    .industries-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: left;
        padding: 0;
        color: #6BA3D8;
        font-weight: 400;
        letter-spacing: 0.5px;
    }
    
    .industries-list {
        gap: 1.25rem;
        padding: 0;
    }
    
    .industry-item {
        padding: 1.25rem 1.5rem;
        background: white;
        border-radius: 0;
        justify-content: space-between;
        min-height: 60px;
    }
    
    .industry-item::before,
    .industry-item::after {
        display: none;
    }
    
    .industry-item:active {
        opacity: 0.7;
    }
    
    .industry-label {
        font-size: 1rem;
        font-weight: 400;
        color: #6BA3D8;
        margin-top: 0;
    }
    
    .industry-icon {
        font-size: 1.5rem;
        color: #6BA3D8;
        margin-bottom: 0;
        min-width: auto;
        height: auto;
        display: block;
        background: transparent;
        border-radius: 0;
    }
    
    .industries-infrastructure-section {
        display: block;
    }
    
    .industries-bg-image {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .industries-list-section {
        padding: 2rem 0;
    }
    
    .industries-content {
        padding: 0 1.25rem !important;
    }
    
    .industries-title {
        font-size: 1.375rem;
        margin-bottom: 1.75rem;
    }
    
    .industries-list {
        gap: 1rem;
    }
    
    .industry-item {
        padding: 1.125rem 1.25rem;
        min-height: 56px;
    }
    
    .industry-label {
        font-size: 0.95rem;
    }
    
    .industry-icon {
        font-size: 1.375rem;
    }
    
    .industries-bg-image {
        min-height: 280px;
    }
}

@media (max-width: 400px) {
    .industries-list-section {
        padding: 1.75rem 0;
    }
    
    .industries-content {
        padding: 0 1rem !important;
    }
    
    .industries-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .industries-title .title-bar {
        height: 20px;
    }
    
    .industries-list {
        gap: 0.875rem;
    }
    
    .industry-item {
        padding: 1rem 1.125rem;
        min-height: 52px;
    }
    
    .industry-label {
        font-size: 0.9rem;
    }
    
    .industry-icon {
        font-size: 1.25rem;
    }
    
    .industries-bg-image {
        min-height: 250px;
    }
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.clients-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.clients-scroll {
    display: flex;
    gap: 60px;
    animation: scroll-left 30s linear infinite;
    width: fit-content;
}

.clients-scroll:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.client-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 150, 255, 0.3);
    border-color: #0096FF;
    background: white;
}

/* Client Logo Grid */
.clients-grid {
    margin-top: 2rem;
}

.client-logo-grid {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.client-logo-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.2);
    border-color: #B3D9FF;
}

.client-logo-grid .logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.client-logo-grid:hover .logo-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.client-logo:hover .logo-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #8C8C8C 0%, #B8B8B8 50%, #E0E0E0 100%);
    position: relative;
}

.partner-card {
    background: #FFFFFF;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    padding: 30px;
    border: 3px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.partner-card:hover {
    /* transform: translateY(-10px) rotate(2deg); */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #80C7FF;
    background: white;
}

.partner-card i {
    transition: all 0.3s ease;
}

.partner-card:hover i {
    transform: scale(1.2) rotate(360deg);
    color: #0096FF !important;
}

/* Product Page Styles */
.products-section {
    padding: 60px 0;
    background: white;
}

.product-category {
    padding: 80px 0;
    background: white;
    margin-bottom: 0;
}

.product-category:nth-child(odd) {
    background: white;
}

.product-category:nth-child(even) {
    background: #F8F9FA;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 100%;
    min-height: 400px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.product-image-wrapper:hover img {
    transform: scale(1.05);
}

.product-category h2 {
    color: #2C2C2C;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-category .lead {
    color: #6C6C6C;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-category .btn-primary {
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-category .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.3);
}

.product-details {
    background: white;
    padding: 60px 0;
    display: none;
}

.product-details.show {
    display: block;
}

.product-details .product-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-details .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 150, 255, 0.15);
    border-color: #0096FF;
}

/* Breadcrumb Styles */
.breadcrumb-section {
    padding: 15px 0 !important;
    background: linear-gradient(to bottom, #E6F2FF 0%, #D9EEFF 100%) !important;
    position: relative;
    margin-bottom: 0;
    width: 100%;
    overflow: hidden;
}

.breadcrumb-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #0096FF;
    display: block;
    z-index: 1;
}

.breadcrumb-section .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-section .breadcrumb {
    margin-bottom: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
}

.breadcrumb-section .breadcrumb-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    content: '/' !important;
    color: #6C6C6C !important;
    padding: 0 10px !important;
    font-weight: normal;
    display: inline-block;
    float: none !important;
}

.breadcrumb-section .breadcrumb-item a {
    color: #0096FF !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.breadcrumb-section .breadcrumb-item a:hover {
    color: #0066CC !important;
    text-decoration: underline;
}

.breadcrumb-section .breadcrumb-item.active {
    color: #6C6C6C !important;
    font-weight: normal;
}

/* Breadcrumb Mobile Responsive */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 3px 0 !important;
    }
    
    .breadcrumb-section .breadcrumb {
        font-size: 0.85rem;
    }
    
    .breadcrumb-section .breadcrumb-item {
        font-size: 0.85rem;
    }
    
    .breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px !important;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: 3px 0 !important;
    }
    
    .breadcrumb-section .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .breadcrumb-section .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    .breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px !important;
    }
    
    .breadcrumb-section .breadcrumb-item a {
        word-break: break-word;
    }
}

/* Grades Grid */
.grades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.grade-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.grade-card:hover {
    transform: translateY(-5px);
    border-color: #0096FF;
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.15);
}

.grade-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
}

/* Product Detail Section - Two Panel Layout */
.product-detail-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
}

.product-detail-image-panel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.product-detail-image-panel img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.product-detail-text-panel {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    height: 100%;
}

.product-detail-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 25px;
    line-height: 1.3;
}

.product-detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 20px;
}

/* Legacy support for old class name */
.product-detail-image {
    margin-bottom: 40px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for product detail section */
@media (max-width: 992px) {
    .product-detail-text-panel {
        padding: 30px 25px;
        margin-top: 30px;
    }
    
    .product-detail-heading {
        font-size: 2rem;
    }
    
    .product-detail-section .row.align-items-center {
        align-items: flex-start !important;
    }
}

@media (max-width: 768px) {
    .product-detail-text-panel {
        padding: 25px 20px;
        margin-top: 20px;
    }
    
    .product-detail-heading {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .product-detail-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .grade-panel {
        min-height: 300px;
    }
    
    .grade-panel-image {
        min-height: 200px;
        max-height: 250px;
    }
}

/* Grades Section */
.grades-section-header {
    margin-bottom: 40px;
}

.grades-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.grades-title-line {
    display: inline-block;
    width: 5px;
    height: 50px;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8C42 100%);
    border-radius: 3px;
}

.grades-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4DB8FF;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.grade-panel {
    background: linear-gradient(180deg, #0066CC 0%, #0096FF 50%, #4DB8FF 100%);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
}

a .grade-panel {
    cursor: pointer;
}

.grade-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    border-radius: 0 0 0 15px;
}

.grade-panel:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 150, 255, 0.4);
}

.grade-panel-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.grade-panel-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    min-height: 250px;
    max-height: 300px;
}

.grade-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.grade-panel:hover .grade-panel-image img {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .grades-title {
        font-size: 2rem;
    }
    
    .grades-title-line {
        height: 40px;
    }
    
    .grade-panel {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .grades-title {
        font-size: 1.75rem;
    }
    
    .grades-title-line {
        height: 35px;
        width: 4px;
    }
    
    .grade-panel {
        min-height: 300px;
        padding: 20px;
    }
    
    .grade-panel-title {
        font-size: 1.1rem;
    }
}

/* How We Work */
.how-we-work {
    padding: 80px 0;
    background: white;
}

.work-card {
    background: white;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    border: 3px solid #f0f0f0;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.work-card::after {
    display: none;
}

.work-card:hover::after {
    display: none;
}

.work-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #f0f0f0;
}

.work-card:hover i {
    color: #1a4d6e !important;
}

.work-card:hover .work-number {
    color: rgba(26, 77, 110, 0.15);
}

.work-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    font-weight: bold;
    color: rgba(26, 77, 110, 0.15);
    line-height: 1;
}

.work-card h4,
.work-card p {
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    padding: 100px 0 70px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 120px;
    text-align: center;
}

.page-header .container {
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.page-header h1,
.page-header p {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: wave 10s ease-in-out infinite;
}

/* Services */
.services-detail {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.service-card {
    border-radius: 25px;
    border: 3px solid #e0e0e0;
    background: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    display: none;
}

.service-card:hover::before {
    display: none;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    border-color: #e0e0e0 !important;
}

.service-card:hover .service-icon i {
    color: #1a4d6e !important;
}

.service-icon i {
    color: #1a4d6e !important;
}

/* Legal Content Pages */
.legal-content {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.legal-document {
    border-radius: 20px;
    line-height: 1.8;
}

.legal-document h2 {
    color: #0096FF;
    font-weight: 700;
    margin-top: 2rem;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    color: #0096FF;
    font-weight: 600;
    margin-top: 1.5rem;
}

.legal-document h4 {
    color: #0096FF;
    font-weight: 600;
    margin-top: 1rem;
}

.legal-document h5 {
    color: #0096FF;
    font-weight: 500;
}

.legal-document ul {
    padding-left: 1.5rem;
}

.legal-document ul li {
    margin-bottom: 0.5rem;
}

.legal-document p {
    margin-bottom: 1rem;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Product List Cards */
.product-list-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.3);
    border-color: #0096FF;
}

.product-list-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-list-card:hover .product-list-image img {
    transform: scale(1.1);
}

.product-list-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-list-card:hover .product-list-overlay {
    opacity: 1;
}

.product-list-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-list-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-list-description {
    color: #6C6C6C;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.product-list-link {
    color: #0096FF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.product-list-link:hover {
    color: #0066CC;
    gap: 12px;
}

.product-list-link i {
    transition: transform 0.3s ease;
}

.product-list-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .product-list-image {
        height: 250px;
    }
    
    .product-list-content {
        padding: 25px;
    }
    
    .product-list-title {
        font-size: 1.5rem;
    }
    
    .product-list-description {
        font-size: 0.95rem;
    }
}

.product-category {
    padding: 60px 0;
}

.product-category:nth-child(even) {
    background: #F5F5F5;
}

.product-card {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #e9ecef;
    background: white;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.product-card:hover::before {
    opacity: 0.08;
    top: -100%;
    left: -100%;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 150, 255, 0.3);
    border-color: #0096FF;
}

.product-badge {
    margin-bottom: 15px;
}

.product-badge .badge {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    background: var(--gradient-1);
    border: none;
}

.product-icon-wrapper {
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(128, 199, 255, 0.1) 100%);
    border-radius: 20px;
    display: inline-block;
    transition: all 0.4s ease;
}

.product-category:hover .product-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.2) 0%, rgba(128, 199, 255, 0.2) 100%);
}

.product-category:hover .product-icon-wrapper i {
    color: #0096FF !important;
    transform: scale(1.1);
}

/* Product Features */
.product-features {
    padding: 80px 0;
}

.feature-box {
    background: white;
    border-radius: 20px;
    border: 3px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 150, 255, 0.25);
    border-color: #0096FF;
}

.feature-box:hover .feature-icon i {
    transform: scale(1.2) rotate(360deg);
    color: #0096FF !important;
}

.feature-icon {
    transition: all 0.4s ease;
}

.feature-icon i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-icon {
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-icon i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.metal-type-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    padding: 25px;
}

.metal-type-card:hover {
    transform: translateY(-10px) rotate(2deg);
    background: white;
    border-color: #0096FF;
    box-shadow: 0 15px 35px rgba(0, 150, 255, 0.3);
}

.metal-type-card:hover i {
    transform: scale(1.3) rotate(360deg);
    animation: bounce 0.6s ease;
}

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

/* Portfolio */
.portfolio-section {
    padding: 80px 0;
    background: white;
}

.project-card {
    padding: 50px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-3);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleY(1);
}

.project-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(44, 44, 44, 0.3);
    border-color: #0096FF;
}

.project-image {
    border-radius: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.project-card:hover .project-image::after {
    left: 100%;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.stat-box {
    padding: 25px;
    background: var(--gradient-1);
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.stat-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 150, 255, 0.4);
    border-color: white;
}

.stat-box h3 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* About */
.about-content {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f0f8ff 100%);
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.value-card {
    background: white;
    border-radius: 25px;
    border: 3px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.value-card::after {
    display: none;
}

.value-card:hover::after {
    display: none;
}

.value-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.value-card:hover i {
    color: #1a4d6e !important;
}

.value-card i {
    color: #1a4d6e !important;
}

.feature-item {
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.feature-item::before {
    display: none;
}

.feature-item:hover::before {
    display: none;
}

.feature-item:hover {
    background: white;
    border-color: #1a4d6e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-item:hover .feature-icon i {
    color: #1a4d6e !important;
}

.feature-icon i {
    color: #1a4d6e !important;
}

.team-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 3px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    display: none;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.team-avatar i {
    color: #1a4d6e !important;
}

.team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1a4d6e;
    box-shadow: 0 4px 15px rgba(26, 77, 110, 0.3);
    transition: all 0.3s ease;
}

.team-member-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 77, 110, 0.4);
}

/* CEO Profile Card Styling - Combining Portrait and Card */
.team-card-ceo {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: none;
    position: relative;
    overflow: hidden;
    padding: 25px 20px !important;
    background: white;
    max-width: 100%;
    margin: 0 auto;
}

.team-avatar-ceo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-photo-ceo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    /* border: 3px solid #1a4d6e; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    background: white;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@media (max-width: 768px) {
    .team-avatar-ceo {
        width: 150px;
        height: 150px;
    }
}

.team-profile-info {
    position: relative;
    z-index: 2;
}

.team-name-ceo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.3;
}

.team-title-ceo {
    color: #1a4d6e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.team-experience-ceo {
    color: #6c6c6c;
    font-size: 0.85rem;
    margin-bottom: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
}

/* Contact */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #ffffff 100%);
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.15);
    border: 3px solid #00B4FF;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: #0096FF;
    box-shadow: 0 20px 50px rgba(0, 150, 255, 0.25);
    transform: translateY(-2px);
}

.contact-form .form-label {
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #00B4FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 255, 0.25);
    outline: none;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #0096FF 0%, #00B4FF 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #00B4FF 0%, #0096FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.4);
}

.contact-info-card {
    background: linear-gradient(135deg, #0096FF 0%, #00B4FF 50%, #4DB8FF 100%);
    padding: 20px 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 150, 255, 0.3);
    transition: all 0.3s ease;
}

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

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    box-shadow: 0 6px 20px rgba(0, 150, 255, 0.4);
    transform: translateY(-3px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h5 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
    margin-top: 0;
}

.contact-info-card p {
    color: #ffffff !important;
    margin-bottom: 4px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.contact-info-card small {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.85rem;
    display: block;
    margin-top: 2px;
}

.contact-info-card i {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.contact-info-card:hover i {
    color: #00B4FF !important;
}

.map-section {
    padding: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e6f3ff 50%, #f0f8ff 100%);
}

.map-container-full {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
    border: none;
}

.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.2);
    border: 3px solid #00B4FF;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.3);
    transform: translateY(-2px);
}

.map-container iframe {
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-container {
        border-width: 2px;
    }
}

@media (max-width: 576px) {
    .map-container {
        border-radius: 10px;
    }
}

.map-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    border-radius: 25px;
    color: #333;
    position: relative;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.map-placeholder::before {
    display: none;
}

.map-placeholder i {
    position: relative;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(90deg, #0066CC 0%, #0096FF 50%, #4DB8FF 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    display: none;
}

.cta-section .btn-light {
    background: white;
    color: #0066CC;
    font-weight: 600;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 3px solid transparent;
}

.cta-section .btn-light:hover {
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.3);
    border-color: #0096FF;
    background: white;
    color: #0096FF;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #000000;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000000;
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 60px;
    }
}

.footer-logo:hover {
    opacity: 0.9;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #a8c5d9 !important;
    transform: translateX(5px);
}

.social-links a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg) scale(1.1);
    color: #a8c5d9 !important;
    background: rgba(26, 77, 110, 0.3);
    box-shadow: 0 10px 20px rgba(26, 77, 110, 0.4);
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 14px 35px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 150, 255, 0.5);
}

.btn-outline-light {
    border: 3px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-section .carousel,
    .slider-section .carousel-inner,
    .slider-section .carousel-item {
        height: 300px;
        min-height: 300px;
    }
    
    .slider-section .carousel-item {
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .slider-section .carousel-item img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        display: block;
    }

    .slider-section .carousel-caption {
        padding: 25px 30px;
        max-width: 95%;
    }

    .slider-section .carousel-caption h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .slider-section .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .slider-section .carousel-control-prev {
        left: 15px;
    }

    .slider-section .carousel-control-next {
        right: 15px;
    }

    .slider-section .carousel-control-prev-icon,
    .slider-section .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    .hero-section {
        min-height: 80vh;
        text-align: center;
    }

    .hero-icon {
        font-size: 8rem;
        margin-top: 30px;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .stats-section {
        padding: 50px 0;
    }
    
    .stat-card {
        margin-bottom: 20px;
        padding: 30px 15px;
    }
    
    .stat-card h2 {
        font-size: 2.5rem;
    }
    
    .stat-card p {
        font-size: 0.95rem;
    }
    
    .stat-card small {
        font-size: 0.8rem;
    }

    .work-number {
        font-size: 3rem;
        top: 15px;
        right: 15px;
    }
    
    .work-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .work-card h4 {
        font-size: 1.25rem;
    }
    
    .work-card p {
        font-size: 0.9rem;
    }
    
    .partners-section {
        padding: 50px 0;
    }
    
    .partner-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .partner-card i {
        font-size: 2.5rem !important;
    }
    
    .partner-card h5 {
        font-size: 1rem;
        margin-top: 15px !important;
    }
    
    .how-we-work {
        padding: 50px 0;
    }
    
    .how-we-work h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .how-we-work p {
        font-size: 0.95rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-section .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .clients-section {
        padding: 50px 0;
    }
    
    .client-logo {
        width: 150px;
        height: 90px;
        padding: 15px;
    }
    
    .client-logo-grid {
        height: 120px;
        padding: 15px;
    }

    .project-card {
        padding: 30px 20px;
    }
    
    .service-card {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    
    .service-card h4 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form .btn-lg {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .contact-info-card {
        padding: 18px 20px;
        margin-bottom: 12px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        margin-right: 12px;
    }

    .contact-info-card h5 {
        font-size: 1rem;
    }

    .contact-info-card p {
        font-size: 0.9rem;
    }

    .page-header {
        padding: 80px 0 50px;
    }

    .client-logo {
        width: 160px;
        height: 100px;
    }

    .logo-placeholder {
        font-size: 0.85rem;
    }

    .clients-scroll {
        gap: 40px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }

    .slider-section {
        margin-top: 0;
    }

    .slider-section .carousel,
    .slider-section .carousel-inner,
    .slider-section .carousel-item {
        height: 250px;
        min-height: 250px;
    }
    
    .slider-section .carousel-item {
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .slider-section .carousel-item img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
        display: block;
    }

    .slider-section .carousel-caption {
        padding: 20px;
        max-width: 98%;
    }

    .slider-section .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .stat-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .stat-card h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-card p {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-card small {
        font-size: 0.75rem;
    }
    
    .work-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .work-number {
        font-size: 2.5rem;
        top: 10px;
        right: 10px;
    }
    
    .work-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .work-card p {
        font-size: 0.85rem;
    }
    
    .work-card i {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    
    .partners-section {
        padding: 40px 0;
    }
    
    .partners-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .partners-section p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .partner-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .partner-card i {
        font-size: 2rem !important;
    }
    
    .partner-card h5 {
        font-size: 0.95rem;
        margin-top: 12px !important;
    }
    
    .how-we-work {
        padding: 40px 0;
    }
    
    .how-we-work h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .how-we-work > .container > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-section .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .clients-section {
        padding: 40px 0;
    }
    
    .clients-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .client-logo {
        width: 120px;
        height: 75px;
        padding: 12px;
    }
    
    .client-logo-grid {
        height: 100px;
        padding: 12px;
    }
    
    .service-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .service-card .service-icon i {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    
    .page-header {
        padding: 80px 0 50px;
        padding-top: 100px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .stat-card h2 {
        font-size: 1.75rem;
    }
    
    .work-number {
        font-size: 2rem;
    }
    
    .work-card h4 {
        font-size: 1rem;
    }
    
    .partner-card i {
        font-size: 1.75rem !important;
    }
    
    .cta-section h2 {
        font-size: 1.35rem;
    }
    
    .partners-section h2,
    .how-we-work h2,
    .clients-section h2 {
        font-size: 1.5rem;
    }
    
    .service-card h4 {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .slider-section .carousel-caption h2 {
        font-size: 1.25rem;
    }
    
    .hero-icon {
        font-size: 5rem;
    }
    
    .display-3 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }

    .slider-section .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .slider-section .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .slider-section .carousel-control-prev {
        left: 10px;
    }

    .slider-section .carousel-control-next {
        right: 10px;
    }

    .slider-section .carousel-indicators {
        bottom: 15px;
    }

    .slider-section .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

    .hero-section {
        min-height: 70vh;
    }

    .hero-icon {
        font-size: 6rem;
    }

    .display-3 {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 2rem;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .stat-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .stat-card h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-card p {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-card small {
        font-size: 0.75rem;
    }
    
    .work-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }
    
    .work-number {
        font-size: 2.5rem;
        top: 10px;
        right: 10px;
    }
    
    .work-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .work-card p {
        font-size: 0.85rem;
    }
    
    .work-card i {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    
    .partners-section {
        padding: 40px 0;
    }
    
    .partners-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .partners-section p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .partner-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .partner-card i {
        font-size: 2rem !important;
    }
    
    .partner-card h5 {
        font-size: 0.95rem;
        margin-top: 12px !important;
    }
    
    .how-we-work {
        padding: 40px 0;
    }
    
    .how-we-work h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .how-we-work > .container > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-section .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .clients-section {
        padding: 40px 0;
    }
    
    .clients-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .client-logo {
        width: 120px;
        height: 75px;
        padding: 12px;
    }
    
    .client-logo-grid {
        height: 100px;
        padding: 12px;
    }
    
    .service-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .service-card .service-icon i {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    
    .page-header {
        padding: 80px 0 50px;
        padding-top: 100px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-section .row {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }

    .contact-section .row > * {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }

    .contact-form {
        padding: 25px 15px;
        border-radius: 15px;
        border-width: 2px;
    }

    .contact-form .form-control,
    .contact-form .form-select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .contact-form .btn-lg {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .contact-info-card {
        padding: 15px 18px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 10px;
    }

    .contact-info-card h5 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .contact-info-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contact-info-card small {
        font-size: 0.8rem;
    }

    .contact-section h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .map-container-full {
        padding-bottom: 75% !important;
    }

    .map-container-full iframe {
        height: 300px !important;
    }

    .client-logo {
        width: 140px;
        height: 90px;
    }

    .logo-placeholder {
        font-size: 0.75rem;
    }

    .clients-scroll {
        gap: 30px;
    }
}

/* Hide and remove appl1_sgpt_float_box_btn element */
.appl1_sgpt_float_box_btn,
[class*="appl1_sgpt"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #0096FF 0%, #4DB8FF 50%, #80C7FF 100%) !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    opacity: 0 !important;
    transform: scale(0.8) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.back-to-top.show {
    display: flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}

.back-to-top:hover {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 30px rgba(0, 150, 255, 0.6);
    background: linear-gradient(135deg, #0096FF 0%, #80C7FF 50%, #B3D9FF 100%);
}

.back-to-top:active {
    transform: scale(1.05) rotate(360deg);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* Pulse animation for back to top button */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(0, 150, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 150, 255, 0.6);
    }
}

.back-to-top.show {
    animation: pulse 2s ease-in-out infinite;
}

.back-to-top:focus {
    outline: 3px solid rgba(0, 150, 255, 0.5);
    outline-offset: 3px;
}

/* Responsive back to top button */
@media (max-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Grade Series Pages Styles */
.grade-header-section {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 50%, #2e6da4 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.grade-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    z-index: 1;
    opacity: 0.6;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.grade-header-background {
    display: none;
}

.grade-header-bg-img {
    display: none;
}

.grade-header-overlay {
    display: none;
}

.grade-header-section .container {
    position: relative;
    z-index: 2;
}

.grade-header-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    margin: 0;
    letter-spacing: 3px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.grade-header-image {
    display: none;
}

.grade-header-image img {
    display: none;
}

.grade-products-section {
    background: #ffffff;
    padding: 80px 0;
}

.grade-section-header {
    margin-bottom: 50px;
}

.grade-section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    padding-left: 0;
}

.grade-section-title-line {
    display: inline-block;
    width: 6px;
    height: 60px;
    background: #00B4FF;
    border-radius: 0;
    flex-shrink: 0;
}

.grade-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00B4FF;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.grade-product-image-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: white;
    height: 100%;
}

.grade-product-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 150, 255, 0.3);
}

.grade-product-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
    transition: transform 0.5s ease;
}

.grade-product-image-card:hover img {
    transform: scale(1.1);
}

.grade-product-image-card {
    cursor: pointer;
    position: relative;
}

.grade-product-image-card::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}

.grade-product-image-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(0, 180, 255, 0.8);
}

.grade-product-image-card img {
    position: relative;
    z-index: 0;
}

/* Image Lightbox Modal */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: zoomIn 0.3s ease;
}

.image-lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.image-lightbox-close:hover {
    color: #00B4FF;
    background: rgba(0, 180, 255, 0.8);
    transform: rotate(90deg);
}

.image-lightbox-close:focus {
    outline: none;
}

.image-lightbox-prev,
.image-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    user-select: none;
}

.image-lightbox-prev {
    left: 20px;
}

.image-lightbox-next {
    right: 20px;
}

.image-lightbox-prev:hover,
.image-lightbox-next:hover {
    color: #00B4FF;
    background: rgba(0, 180, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.image-lightbox-prev:focus,
.image-lightbox-next:focus {
    outline: none;
}

.image-lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 20px;
    border-radius: 20px;
    z-index: 10;
    white-space: nowrap;
}

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .image-lightbox-close {
        top: -40px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .image-lightbox-content {
        max-width: 95%;
    }
    
    .image-lightbox-prev,
    .image-lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 40px;
    }
    
    .image-lightbox-prev {
        left: 10px;
    }
    
    .image-lightbox-next {
        right: 10px;
    }
    
    .image-lightbox-counter {
        bottom: -40px;
        font-size: 14px;
        padding: 6px 16px;
    }
}

@media (max-width: 992px) {
    .grade-header-section {
        min-height: 250px;
        padding: 60px 0;
    }
    
    .grade-header-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .grade-section-title {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    
    .grade-section-title-line {
        height: 50px;
        width: 5px;
    }
}

@media (max-width: 768px) {
    .grade-header-section {
        min-height: 200px;
        padding: 50px 0;
    }
    
    .grade-header-title {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
        line-height: 1.3;
    }
    
    .grade-section-title {
        font-size: 1.9rem;
        letter-spacing: 0.5px;
    }
    
    .grade-section-title-line {
        height: 45px;
        width: 5px;
    }
    
    .grade-section-title-wrapper {
        gap: 15px;
    }
    
    .grade-product-image-card img {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Form Validation Styles */
.form-control:focus,
.form-select:focus {
    border-color: #0096FF;
    box-shadow: 0 0 0 0.25rem rgba(0, 150, 255, 0.25);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.form-control,
.form-select {
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.form-control:hover,
.form-select:hover {
    border-color: #B3D9FF;
}

/* Utility Classes */
.text-primary {
    color: #0096FF !important;
}

.bg-primary {
    background: linear-gradient(90deg, #0066CC 0%, #0096FF 50%, #4DB8FF 100%) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.py-5 {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

/* Additional Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .stat-card,
    .service-card,
    .work-card,
    .project-card,
    .value-card,
    .team-card {
        animation: fadeIn 0.8s ease-out;
    }
}

/* ============================================
   Form Validation Styles
   ============================================ */

/* Valid field styling */
.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Invalid field styling */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 .4.4.4-.4m0 4.8-.4-.4-.4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Invalid feedback message */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    animation: slideDown 0.3s ease-out;
}

/* Valid feedback (optional - if you want to show success messages) */
.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #28a745;
}

/* Animation for error messages */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced focus states for better UX */
.form-control:focus,
.form-select:focus,
.form-control.is-valid:focus,
.form-control.is-invalid:focus {
    transition: all 0.3s ease;
}

/* Textarea validation styling */
textarea.form-control.is-valid,
textarea.form-control.is-invalid {
    background-position: right calc(0.375em + 0.1875rem) top calc(0.375em + 0.1875rem);
}

/* Form validation alert styling */
.contact-form .alert {
    animation: slideDown 0.3s ease-out;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.contact-form .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Smooth transitions for validation states */
.form-control,
.form-select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-image 0.3s ease;
}

