/* SK Industrial Solutions - Custom CSS */
:root {
    --primary-color: #003366; /* Industrial Blue */
    --secondary-color: #FF6600; /* Orange */
    --accent-color: #004080; /* Lighter Industrial Blue */
    --dark-gray: #1e293b;
    --medium-gray: #64748b;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #003366 0%, #004080 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6600 0%, #FF8C00 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--white);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.875rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.5rem;
    color: var(--dark-gray);
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    transition: all 0.3s ease;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    padding: 3px 0;
    height: 85px;
}

.navbar-brand {
    padding: 5px 15px;
    display: flex;
    align-items: center;
    height: 80px;
    margin-right: 30px;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
    vertical-align: middle;
}

.navbar.scrolled .navbar-brand img {
    height: 75px;
}

.navbar-nav {
    height: 80px;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-size: 16px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(0, 51, 102, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003366' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FF6600' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ensure proper spacing for collapsed navbar */
.navbar-collapse {
    flex-grow: 0;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}

.btn-contact {
    background: var(--gradient-secondary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-nav .nav-link {
    color: #5a6472 !important;
    font-weight: 400;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #1a202c !important;
    background: #f4f6f8;
}

.navbar-nav .nav-link.active {
    color: #1a202c !important;
    font-weight: 500;
}

.navbar-nav .nav-link::after {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 6px;
    background: transparent;
    transition: background 0.2s ease;
    border-radius: 6px;
}

.navbar-toggler:hover {
    background: #f4f6f8;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003366' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 22px;
    height: 22px;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}

.btn-contact {
    background: var(--gradient-secondary);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: none;
}

.btn-contact:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.4);
    color: var(--white) !important;
    text-decoration: none;
}

/* Mobile Responsive - IMPORTANT: These must override Bootstrap defaults */
@media (max-width: 991.98px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
    }
    
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
    
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }
    
    .navbar-expand-lg .navbar-collapse.collapse {
        display: none !important;
    }
    
    .navbar-expand-lg .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar {
        height: auto;
        min-height: 70px;
        padding: 8px 0;
    }
    
    .navbar.scrolled {
        height: auto;
        min-height: 65px;
        padding: 5px 0;
    }
    
    .navbar-brand {
        height: 60px;
        padding: 5px 10px;
        margin-right: 15px;
    }
    
    .navbar-brand img {
        height: 60px !important;
        width: auto;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 55px !important;
    }
    
    .navbar-nav {
        height: auto;
        padding: 20px 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
    }
    
    .navbar-expand-lg .navbar-nav {
        flex-direction: column !important;
    }
    
    .navbar-nav .nav-link {
        margin: 8px 0;
        text-align: center;
        height: auto;
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(0, 51, 102, 0.1);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-contact {
        display: inline-block;
        margin: 15px auto 20px;
        width: auto;
        text-align: center;
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
}

@media (max-width: 576px) {
    .navbar {
        min-height: 60px;
        padding: 5px 0;
    }
    
    .navbar.scrolled {
        min-height: 55px;
        padding: 3px 0;
    }
    
    .navbar-brand {
        height: 50px;
        padding: 3px 8px;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 45px !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 10px 15px;
        margin: 5px 0;
    }
    
    .btn-contact {
        font-size: 15px;
        padding: 10px 20px;
        margin: 10px auto 15px;
    }
    
    .navbar-toggler {
        height: 35px;
        width: 35px;
        padding: 5px;
    }
    
    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 64, 128, 0.9)),
                url('../images/industrial-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Carousel Styles */
.carousel {
    height: 85vh;
}

.carousel-item {
    height: 85vh;
    position: relative;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.6);
    z-index: 1;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.carousel-caption .btn {
    margin: 0 10px;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

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

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

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target]:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Mobile Responsive Carousel */
@media (max-width: 768px) {
    .carousel {
        height: 100vh;
    }
    
    .carousel-item {
        height: 100vh;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .carousel-caption .btn {
        margin: 5px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    /* Mobile Navbar */
    .navbar {
        height: auto;
        min-height: 70px;
        padding: 8px 0;
    }
    
    .navbar.scrolled {
        height: auto;
        min-height: 65px;
        padding: 5px 0;
    }
    
    .navbar-brand {
        height: 60px;
        padding: 5px 10px;
    }
    
    .navbar-brand img {
        height: 60px !important;
        width: auto;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 55px !important;
    }
    
    .navbar-nav {
        height: auto;
        padding: 10px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
        height: auto;
        padding: 10px 0;
    }
    
    .btn-contact {
        display: inline-block;
        margin-top: 10px;
        width: auto;
    }
}

/* Touch Swipe Support */
.carousel {
    touch-action: pan-y;
}

.carousel-inner {
    touch-action: pan-y;
}

/* Improved Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-top i {
    font-size: 1.2rem;
}

/* Enhanced Animations */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

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

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

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

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-features li {
    padding: 5px 0;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Product Categories */
.product-categories {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.product-categories h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
}

.category-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.category-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Product Grid */
.product-grid {
    min-height: 600px;
}

.product-grid .product-card {
    margin-bottom: 30px;
}

/* Hero Section for Products Page */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

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

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

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

.product-content {
    padding: 25px;
}

.product-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-content .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.product-content .btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.product-content .btn-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.product-content .btn-link:hover i {
    transform: translateX(3px);
}

/* About Image */
.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

/* Experience Stats */
.experience-stats {
    background: var(--gradient-primary);
    border-radius: 15px;
    padding: 30px;
    color: var(--white);
}

.stat-box {
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.map-container iframe {
    border: none;
}

/* Orange CTA Buttons */
.btn-primary {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--white) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #FF8C00 !important;
    border-color: #FF8C00 !important;
    transform: translateY(-2px);
    color: var(--white) !important;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}
.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

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

.service-card:hover::before {
    height: 8px;
    background: var(--gradient-secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--gradient-secondary);
}

.service-card:hover .service-icon i {
    transform: rotate(10deg);
}

.service-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--secondary-color);
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Why Choose Us */
.why-choose-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.why-choose-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
    transform: translateY(-5px);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

/* Portfolio Gallery */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 30px;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(55, 48, 163, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid rgba(30, 58, 138, 0.1);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
    outline: none;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(30, 58, 138, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .service-card,
    .why-choose-card {
        padding: 1.5rem;
    }
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Background Colors */
.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-white {
    color: var(--white) !important;
}

/* Filter Buttons */
.filter-btn {
    background: transparent;
    color: var(--primary-color);
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    margin: 5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-modal-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Form Validation */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-valid {
    border-color: #28a745 !important;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Carousel logo overlay - first slide only */
.carousel-logo-slide {
    position: relative;
}

.carousel-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 24px 36px;
}

.carousel-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}
