/* 
    Skillsat Website Styles
    Colors:
    - Blue: #4eabff, #5ca4ff, #3f94d1
    - Dark: #181d26
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    font-size: 13px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #3f94d1;
    transition: all 0.3s ease;
}

a:hover {
    color: #4eabff;
}

ul {
    list-style: none;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #4eabff;
    color: white;
    border: none;
    box-shadow: 0 3px 5px rgba(78, 171, 255, 0.3);
}

.btn-login {
    background-color: #4eabff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    box-shadow: 0 3px 5px rgba(78, 171, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-login i {
    margin-right: 5px;
}

.btn-primary:hover {
    background-color: #3f94d1;
    border-color: #3f94d1;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #4eabff;
    border: 2px solid #4eabff;
}

.btn-secondary:hover {
    background-color: #4eabff;
    color: white;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

/* Header styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.logo {
    flex-shrink: 0;
}

nav {
    margin-left: auto;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.btn-login {
    margin-left: 10px;
}

.btn-primary, .btn-login {
    flex-shrink: 0;
}

.logo img {
    height: 30px;
}

/* Navigation styles */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.main-menu a {
    display: block;
    padding: 10px 15px;
    color: #181d26;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 12px;
    font-weight: 500;
}

.main-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #4eabff;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-menu a:hover:after,
.main-menu a.active:after {
    width: 100%;
}

.menu-line {
    position: absolute;
    height: 2px;
    background-color: #4eabff;
    bottom: -5px;
    left: 0;
    width: 0;
    transition: width 0.3s ease-in-out;
    animation: expandLine 0.3s forwards;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100%; }
}

.main-menu li {
    position: relative;
    margin-left: 20px;
}



.main-menu a:hover,
.main-menu a.active {
    color: #4eabff;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero section */
.hero {
    background-color: #f5f9ff;
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-top: 0;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

h5, h6 {
    font-size: 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #181d26;
    line-height: 1.2;
}

.hero p {
    font-size: 13px;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Services overview section */
.services-overview {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #181d26;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 14px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    font-size: 32px;
    color: #4eabff;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #181d26;
    margin-bottom: 15px;
}

.service-content p {
    color: #555;
    margin-bottom: 20px;
    font-size: 13px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-weight: 600;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Featured product section */
.featured-product {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.featured-product .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1;
}

.featured-product h2 {
    font-size: 36px;
    color: #181d26;
    margin-bottom: 10px;
}

.feature-content p {
    color: #555;
    font-size: 13px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #4eabff;
    margin-right: 10px;
}

/* Why choose section */
.why-choose {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 36px;
    color: #4eabff;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: #181d26;
}

/* CTA section */
.cta-section {
    background-color: #181d26;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 20px;
    font-size: 13px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer styles */
footer {
    background-color: #181d26;
    color: white;
    padding: 60px 0 30px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(24, 29, 38, 0.95);
    color: white;
    padding: 15px 20px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    flex: 1;
    font-size: 13px;
}

.cookie-banner-content p {
    margin: 0;
}

.cookie-banner-content a {
    color: #4eabff;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-btn-accept {
    background-color: #4eabff;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #3f94d1;
}

.cookie-btn-decline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 1rem;
    font-size: 14px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4eabff;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
}

.social-links a:hover {
    color: #4eabff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ========================================
   SUB-PAGE STYLES
   Consistent styling for all product/service pages
   ======================================== */

/* Page Hero Sections */
.product-hero,
.service-hero,
.category-hero,
.page-hero {
    background-color: #f5f9ff;
    padding: 80px 0;
}

.product-hero .container,
.service-hero .container,
.category-hero .container,
.page-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.product-hero .hero-content,
.service-hero .hero-content,
.category-hero .hero-content,
.page-hero .hero-content {
    flex: 1;
}

.product-hero .hero-image,
.service-hero .hero-image,
.category-hero .hero-image,
.page-hero .hero-image {
    flex: 1;
}

.product-hero h1,
.service-hero h1,
.category-hero h1,
.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #181d26;
    line-height: 1.2;
}

.product-hero p,
.service-hero p,
.category-hero p,
.page-hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.7;
}

/* Page Sections */
.page-section {
    padding: 80px 0;
}

.page-section:nth-child(even) {
    background-color: #f5f9ff;
}

.page-section:nth-child(odd) {
    background-color: white;
}

/* Feature Grid - Two Column Layout */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 28px;
    color: #4eabff;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f9ff;
    border-radius: 10px;
}

.feature-content h3 {
    font-size: 1.25rem;
    color: #181d26;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 20px 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4eabff, #3f94d1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-content h3 {
    font-size: 1rem;
    color: #181d26;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Working With Section */
.working-with-section {
    padding: 80px 0;
    background-color: #f5f9ff;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.use-case-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    font-size: 48px;
    color: #4eabff;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 1.2rem;
    color: #181d26;
    margin-bottom: 15px;
}

.use-case-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4eabff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #555;
}

/* Two Column Content Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.column-content h3 {
    font-size: 1.8rem;
    color: #181d26;
    margin-bottom: 20px;
}

.column-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.column-content ul {
    margin: 20px 0;
}

.column-content ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    color: #555;
}

.column-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4eabff;
}

.column-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #4eabff;
    transform: scale(1.05);
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #181d26;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4eabff;
    margin: 20px 0;
}

.pricing-price span {
    font-size: 1rem;
    color: #555;
    font-weight: 400;
}

/* Responsive adjustments for sub-pages */
@media (max-width: 992px) {
    .product-hero .container,
    .service-hero .container,
    .category-hero .container,
    .page-hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .two-column.reverse {
        direction: ltr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .product-hero h1,
    .service-hero h1,
    .category-hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }
}

/* ========================================
   END SUB-PAGE STYLES
   ======================================== */

/* Responsive styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .featured-product .container {
        flex-direction: column;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-list {
        display: inline-block;
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        position: relative;
    }
    
    .main-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        width: 100%;
        margin: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
