/* Kalptaru Engivation Website Styles */

/* Color Variables */
:root {
    --primary-color: #4169E1;
    --secondary-color: #22C55E;
    --text-dark: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

/* Header Styles */
#site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

#site-header.nav-fixed {
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 5px;
}

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

/* Button Styles */
.btn-style {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.3);
    color: white;
}

.btn-style-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-style-primary:hover {
    background: #2952d3;
    color: white;
}

.btn-style-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-style-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Banner Styles */
.w3l-banner {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.banner-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.banner-style-1 {
    bottom: 50px;
    right: 50px;
}

.banner-style-2 {
    background: rgba(65, 105, 225, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Section Titles */
.title-main {
    margin-bottom: 50px;
}

.title-style {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-uppercase {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

/* Icon Boxes */
.icon-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.icon-box-clr-1 .icon { color: #ff6b6b; }
.icon-box-clr-2 .icon { color: #4ecdc4; }
.icon-box-clr-3 .icon { color: #45b7d1; }
.icon-box-clr-4 .icon { color: #96ceb4; }

.icon-box .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.icon-box .title a {
    color: var(--text-dark);
    text-decoration: none;
}

/* Course Cards (Product Cards) */
.coursecard-single {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.coursecard-single:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.grids5-info {
    position: relative;
    overflow: hidden;
}

.meta-list {
    position: absolute;
    top: 15px;
    left: 15px;
}

.meta-list a {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
}

.meta-list a.sec-2 {
    background: #ff6b6b;
}

.meta-list a.sec-3 {
    background: #4ecdc4;
}

.content-main-top {
    padding: 25px;
}

.content-top {
    font-size: 14px;
    color: var(--text-muted);
}

.top-content-border {
    border-top: 1px solid var(--border-color);
}

/* List Styles */
.list-style-lis {
    list-style: none;
    padding: 0;
}

.list-style-lis li {
    padding: 8px 0;
    color: var(--text-muted);
}

.list-style-lis li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Inner Banner */
.inner-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.inner-text-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumbs-custom-path {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.breadcrumbs-custom-path li {
    margin: 0 5px;
}

.breadcrumbs-custom-path li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumbs-custom-path li.active {
    color: white;
}

/* Counter Styles */
.counter {
    text-align: center;
    padding: 20px;
}

.count-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0 10px;
}

.count-text {
    font-weight: 600;
    color: var(--text-muted);
}

/* Testimonials */
.clients-slider .mask {
    overflow: hidden;
}

.clients-slider ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clients-slider li {
    text-align: center;
    padding: 40px 20px;
}

.quote {
    font-style: italic;
    font-size: 18px;
    color: var(--text-muted);
    margin: 20px 0;
    line-height: 1.6;
}

.source {
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer Styles */
.w3l-footer-29-main {
    background: #1a1a1a;
    color: #ccc;
}

.footer-title-29 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-list-29 ul li {
    margin-bottom: 8px;
}

.footer-list-29 ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list-29 ul li a:hover {
    color: var(--primary-color);
}

.subscribe {
    display: flex;
    margin-bottom: 15px;
}

.subscribe input {
    flex: 1;
    border: 1px solid #444;
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.button-style {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.social-links a {
    color: #ccc;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.copy-footer-29 {
    border-top: 1px solid #444;
    padding-top: 20px;
    color: #999;
}

/* Call to Action */
.w3l-call-to-action-6 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}

.title-big {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.buttons {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.phone-sec {
    display: flex;
    align-items: center;
}

.phone-sec i {
    margin-right: 10px;
    font-size: 20px;
}

.call-style-w3 {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.btn-style-2 {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-style-2:hover {
    background: transparent;
    color: white;
}

/* Move to Top Button */
#movetop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
}

#movetop:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.mode-container {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.mode-container:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
}

input:checked + .mode-container {
    background-color: var(--primary-color);
}

input:checked + .mode-container:before {
    transform: translateX(26px);
}

.gg-sun,
.gg-moon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.gg-sun {
    left: 8px;
    color: #ffa500;
}

.gg-moon {
    right: 8px;
    color: #4169E1;
}

/* Search Popup */
.pop-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
}

.pop-overlay:target {
    display: block;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 15px;
    min-width: 400px;
}

.search-box {
    display: flex;
}

.search-box input {
    flex: 1;
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    border-radius: 25px 0 0 25px;
    border-right: none;
}

.search-box button {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .w3l-banner {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .title-style {
        font-size: 2rem;
    }
    
    .inner-text-title {
        font-size: 2.5rem;
    }
    
    .icon-box {
        margin-bottom: 30px;
    }
    
    .navbar-nav {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: var(--shadow);
    }
}

@media (max-width: 768px) {
    .title-style {
        font-size: 1.8rem;
    }
    
    .inner-text-title {
        font-size: 2rem;
    }
    
    .buttons {
        justify-content: center;
        text-align: center;
    }
    
    .phone-sec {
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .popup {
        min-width: 300px;
        margin: 20px;
    }
}

/* Additional Utility Classes */
.radius-image {
    border-radius: 15px;
}

.imginfo__box {
    position: relative;
    margin: 30px 0;
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    /* Remove absolute positioning to prevent overlaying content */
    z-index: 1;
}

.imginfo__title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.imginfo__box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Dark Theme Support */
[data-theme="dark"] {
    --text-dark: #e0e0e0;
    --text-muted: #b0b0b0;
    --bg-light: #2a2a2a;
    --border-color: #404040;
}

[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: var(--text-dark);
}

[data-theme="dark"] .icon-box,
[data-theme="dark"] .coursecard-single {
    background: #2a2a2a;
    color: var(--text-dark);
}

[data-theme="dark"] #site-header {
    background: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] .w3l-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}