/* SafalSoft DSC - Core Styles */

/* Base Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-header {
    display: flex;
    align-items: center;
}

.navbar-brand {
    color: white !important;
    font-weight: 600;
    font-size: 20px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand:hover {
    color: #f8f9fa !important;
    text-decoration: none;
}

.navbar-brand-enhanced {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-toggle {
    background: transparent;
    border: 2px solid white;
    border-radius: 4px;
    padding: 4px 6px;
    margin: 8px 15px 8px 0;
    display: none;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
    margin: 4px 0;
}

.navbar-toggle:hover {
    background-color: rgba(255,255,255,0.1);
}

.set-radius-zero {
    border-radius: 0;
}

.right-div {
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
}

.right-div a {
    color: #f8f9fa;
    text-decoration: none;
}

.right-div a:hover {
    color: white;
    text-decoration: none;
}

/* Menu Section */
.menu-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: relative;
}

.navbar-collapse {
    border: none;
    box-shadow: none;
}

#menu-top {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

#menu-top li {
    list-style: none;
    display: inline-block;
    margin: 0 5px;
}

#menu-top li a {
    display: block;
    padding: 12px 20px;
    color: #2c5aa0 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 25px;
    margin: 2px;
    white-space: nowrap;
}

#menu-top li a:hover,
#menu-top li a.active {
    background-color: #2c5aa0;
    color: white !important;
    transform: translateY(-2px);
}

.nav-link-enhanced {
    color: #2c5aa0 !important;
}

.nav-link-enhanced:hover,
.nav-link-enhanced.active {
    background-color: #2c5aa0 !important;
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Cards */
.card-enhanced {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
}

.card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Buttons */
.btn-hero {
    background: white;
    color: #2c5aa0;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #2c5aa0;
    text-decoration: none;
}

.btn-primary-enhanced {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    color: white;
    text-decoration: none;
}

.btn-outline-enhanced {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-enhanced:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

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

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

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #2c5aa0;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

/* Sections */
.just-sec {
    padding: 60px 0;
}

.below-slideshow {
    padding: 40px 0;
    background: #f8f9fa;
}

.txt-block {
    padding: 20px;
}

.head-line {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c5aa0;
}

.tag-home {
    text-align: center;
    font-size: 2rem;
    margin: 40px 0;
    color: #2c5aa0;
}

/* Footer */
.footer-sec {
    background: #343a40;
    color: white;
    padding: 60px 0 30px;
}

.footer-sec h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-sec a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-sec a:hover {
    color: #4a90e2;
}

/* Forms */
.form-enhanced {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control-enhanced {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-enhanced:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Display utilities */
.display-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        display: none;
        width: 100%;
        clear: both;
    }
    
    .navbar-collapse.collapse.in,
    .navbar-collapse.collapse.show {
        display: block !important;
    }
    
    #menu-top {
        flex-direction: column;
        width: 100%;
        background: white;
        margin-top: 10px;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    #menu-top li {
        display: block;
        width: 100%;
        margin: 2px 0;
    }
    
    #menu-top li a {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 12px;
    }
    
    .right-div {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .display-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .navbar-brand span {
        font-size: 16px;
    }
}

/* Desktop alignment fixes */
@media (min-width: 992px) {
    .navbar-collapse {
        display: block !important;
    }
    
    .navbar-toggle {
        display: none;
    }
    
    #menu-top {
        justify-content: flex-end;
    }
    
    .menu-section {
        text-align: center;
    }
    
    .menu-section .container {
        display: flex;
        justify-content: center;
    }
    
    .navbar-collapse {
        width: auto;
    }
}