
/* GreenMagic Solak-Inspired Design System */

@import url('https://fonts.googleapis.com/css2?family=Anek+Latin:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    /* Solak Palette Synchronized with #DDF27C */
    --brand-color: #DDF27C;     /* The User's Solar Lime */
    --primary-color: #0E121D;   /* Carbon Navy (Solak Primary) */
    --accent-color: #DDF27C;
    --secondary-bg: #E9F5ED;    /* Soft Mint (Solak Secondary) */
    --white: #FFFFFF;
    
    --text-main: #0E121D;
    --text-body: #1F2937;       /* Darker Carbon Slate for better contrast */
    --text-muted: #64748B;
    
    --round-card: 40px;
    --round-btn: 100px;
    
    --header-font: 'Anek Latin', sans-serif;
    --body-font: 'DM Sans', sans-serif;
    
    /* Layout */
    --section-padding: 120px;
}

/* 1. Reset & Global Styles */
body {
    background-color: var(--white) !important;
    color: var(--text-body) !important;
    font-family: var(--body-font) !important;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font) !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* 2. Solak Floating Navigation */
header.main-header .header-sticky {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(14, 18, 29, 0.05) !important;
    border-radius: 100px !important;
    margin: 20px auto !important;
    width: 95% !important;
    box-shadow: 0 10px 30px rgba(14, 18, 29, 0.03) !important;
    padding: 10px 40px !important;
    transition: all 0.3s ease !important;
}

header.main-header .header-sticky.active {
    background: #FFFFFF !important;
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0 0 40px 40px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
}

.main-header, .navbar, .navbar-expand-lg {
    background: transparent !important;
}

.main-menu ul li {
    position: relative;
    padding: 0 15px;
}

.main-menu ul li a {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 14px !important;
    padding: 10px 0 !important;
    position: relative;
    transition: all 0.3s ease !important;
    display: inline-block;
}

/* Premium Sliding Underline Effect */
.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-color);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(221, 242, 124, 0.5);
}

.main-menu ul li a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.main-menu ul li a:hover::after {
    width: 100%;
}

/* Active State Dot */
.main-menu ul li.active a::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--brand-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-color);
}

/* Force Logo Color for Consistency & Visibility */
.navbar-brand, .navbar-brand span {
    color: var(--brand-color) !important;
}

.navbar-brand img {
    height: 50px !important;
    width: auto !important;
    filter: drop-shadow(0 2px 2px rgba(14, 18, 29, 0.6)) !important;
    transition: all 0.3s ease !important;
}

.header-sticky.active .navbar-brand img {
    filter: drop-shadow(0 2px 2px rgba(14, 18, 29, 0.6)) !important;
}

/* 3. Hero & Page Header - Solak Full-Screen Vibe */
.hero, .page-header {
    background: 
        linear-gradient(to right, rgba(14, 18, 29, 0.4), rgba(14, 18, 29, 0.2)),
        url(../images/home/index.jpg) no-repeat center center !important;
    background-size: cover !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 0 0 80px 80px !important;
    margin-top: -140px !important;
    position: relative !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-content::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50px;
    width: 14px;
    height: 14px;
    background: var(--brand-color);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--brand-color);
    z-index: 3;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 35px var(--brand-color); }
    100% { transform: scale(1); opacity: 0.8; }
}

.hero-content h1 {
    font-size: 102px !important;
    color: #ffffff !important;
    line-height: 0.9 !important;
    letter-spacing: -4px !important;
    font-weight: 800 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.hero-content h1 span {
    color: var(--brand-color) !important;
    display: block;
    -webkit-text-fill-color: var(--brand-color) !important;
    margin-top: 15px;
    text-shadow: 0 5px 25px rgba(221, 242, 124, 0.4);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 21px !important;
    max-width: 660px;
    line-height: 1.7;
    margin-top: 40px !important;
    margin-bottom: 50px !important;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content-footer {
    display: flex;
    gap: 25px;
}

.hero-content-footer .btn-default {
    background: var(--brand-color) !important;
    color: var(--primary-color) !important;
    padding: 20px 50px !important;
    border: none !important;
    min-width: 210px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(221, 242, 124, 0.25) !important;
}

.hero-content-footer .btn-default.btn-border {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(10px);
}

.hero-content-footer .btn-default.btn-border:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #FFFFFF !important;
}

/* 4. Solak Component Cards - Enhanced Pro Max Edition */
.service-item, .why-choose-item, .project-item {
    background: #FFFFFF !important;
    border: 1px solid rgba(14, 18, 29, 0.05) !important;
    border-radius: var(--round-card) !important;
    padding: 60px 40px !important;
    box-shadow: 
        0 20px 50px rgba(14, 18, 29, 0.02),
        0 0 0 1px rgba(221, 242, 124, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Standalone Product Card Styles to fix visibility */
.product-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(14, 18, 29, 0.05) !important;
    border-radius: var(--round-card) !important;
    padding: 15px !important;
    box-shadow: 
        0 20px 50px rgba(14, 18, 29, 0.02),
        0 0 0 1px rgba(221, 242, 124, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card .product-image {
    width: 100% !important;
    margin: 0 !important;
    border-radius: calc(var(--round-card) - 15px) !important;
}

.product-card .product-content {
    padding: 25px 15px !important;
    text-align: left !important;
}

.service-item::before, .why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--brand-color);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-item:hover, .why-choose-item:hover, .product-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 
        0 50px 100px rgba(14, 18, 29, 0.12),
        0 0 0 1px rgba(221, 242, 124, 0.5) !important;
}

.service-item:hover::before, .why-choose-item:hover::before {
    opacity: 1;
}

/* Why Choose Visual Stack */
.why-choose-visual {
    position: relative;
    margin-bottom: 40px;
}

.why-choose-image {
    background: #0E121D !important;
    width: 140px !important;
    height: 140px !important;
    border-radius: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(14, 18, 29, 0.3) !important;
    transition: all 0.4s ease;
}

.why-choose-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(221, 242, 124, 0.15) 0%, transparent 70%);
}

.why-choose-image img {
    width: 65px !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important;
    opacity: 0.9;
    z-index: 2;
    transition: all 0.5s ease;
}

.why-choose-icon {
    position: absolute !important;
    bottom: -15px !important;
    right: -15px !important;
    background: var(--brand-color) !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 20px rgba(221, 242, 124, 0.4) !important;
    z-index: 10;
    border: 4px solid #FFFFFF !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-choose-icon img {
    filter: brightness(0) !important;
    width: 24px !important;
}

.why-choose-item:hover .why-choose-image {
    transform: scale(1.05);
}

.why-choose-item:hover .why-choose-image img {
    transform: scale(1.1) rotate(-5deg);
}

.why-choose-item:hover .why-choose-icon {
    transform: translate(5px, 5px) rotate(15deg);
}

/* Typography Refinement */
.why-choose-content h3 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.5px;
}

.why-choose-content p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--text-body) !important;
    margin-bottom: 0 !important;
    font-weight: 500;
}

.service-icon, .project-icon {
    background: var(--brand-color) !important;
    color: var(--primary-color) !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 24px !important; /* Squircle style */
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 25px rgba(221, 242, 124, 0.3) !important;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-icon img {
    filter: brightness(0) !important;
    width: 36px !important;
}

/* 5. Solak "Pill" Buttons */
.btn-default, .product-btn, button[type="submit"] {
    background: var(--brand-color) !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: var(--round-btn) !important;
    font-weight: 800 !important;
    padding: 20px 45px !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 30px rgba(221, 242, 124, 0.2) !important;
}

.btn-default:hover, .product-btn:hover {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 18, 29, 0.15) !important;
}

.btn-default.btn-border {
    background: transparent !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
}

/* 6. Section Specifics - High Contrast Fix */
.section-title {
    margin-bottom: 70px !important;
    position: relative;
}

.section-title h3 {
    color: var(--primary-color) !important;
    background: rgba(221, 242, 124, 0.08) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 10px 24px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
    border: 2px solid rgba(221, 242, 124, 0.25) !important;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.section-title h3:hover {
    background: rgba(221, 242, 124, 0.12) !important;
    border-color: rgba(221, 242, 124, 0.6) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(221, 242, 124, 0.2);
}

.section-title h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--brand-color);
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 12px var(--brand-color);
    transition: all 0.3s ease;
}

.section-title h3:hover::before {
    box-shadow: 0 0 20px var(--brand-color), 0 0 30px rgba(221, 242, 124, 0.4);
    transform: scale(1.2);
}

.section-title h2 {
    font-size: 56px !important;
    line-height: 1.1 !important;
    letter-spacing: -2px !important;
    color: var(--primary-color) !important;
}

/* 7. Alt Section Styling (Solak Mint) */
.our-services, .why-choose-us {
    background-color: var(--secondary-bg) !important;
    padding: var(--section-padding) 0 !important;
    position: relative;
    z-index: 1;
}

.our-services::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(221, 242, 124, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.about-content {
    background: rgba(255, 255, 255, 0.4);
    padding: 40px !important;
    border-radius: var(--round-card);
    border: 1px solid rgba(14, 18, 29, 0.05);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(14, 18, 29, 0.02);
}

.about-content p {
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.about-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 30px !important;
}

.about-content ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--brand-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.about-us, .latest-projects {
    padding: var(--section-padding) 0 !important;
    background-color: var(--white) !important;
}

/* 8. Footer - Solak Premium Dark UI */
.main-footer {
    background: var(--primary-color) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 100px 0 0 0 !important;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(221, 242, 124, 0.2), transparent);
}

.footer-widget-title {
    color: #FFFFFF !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links ul li {
    margin-bottom: 12px !important;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
    display: inline-block !important;
}

.footer-links ul li a:hover {
    color: var(--brand-color) !important;
    transform: translateX(5px);
}

.footer-logo img {
    max-width: 150px !important;
    height: auto !important;
    margin-bottom: 25px !important;
    filter: brightness(0) invert(1) !important;
}

.footer-contact-info p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 15px !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-info i {
    color: var(--brand-color) !important;
}

.footer-copyright {
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 30px 0 !important;
    margin-top: 80px !important;
}

.footer-copyright-text p {
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--brand-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Preloader & Canvas */
.preloader {
    background: var(--white) !important;
}

#tech-canvas {
    opacity: 0.1 !important; /* Extremely subtle integration */
}

#ball {
    background: var(--brand-color) !important;
}

/* 9. Product Detail Specifics */
.page-project-single {
    padding: 100px 0 !important;
    background: var(--white) !important;
}

.about-project-box {
    background: var(--secondary-bg) !important;
    border-radius: var(--round-card) !important;
    padding: 40px !important;
    border: 1px solid rgba(14, 18, 29, 0.05) !important;
}

.about-project-box h2 {
    color: var(--primary-color) !important;
    margin-bottom: 30px !important;
    font-size: 28px !important;
}

.project-info-box h3 {
    color: var(--primary-color) !important;
    font-size: 16px !important;
    margin-bottom: 5px !important;
    font-weight: 700 !important;
}

.project-info-box p {
    color: var(--text-body) !important;
    font-weight: 500 !important;
}

.project-content h2 {
    color: var(--primary-color) !important;
    font-size: 42px !important;
    margin-bottom: 25px !important;
}

.project-content p {
    color: var(--text-body) !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.reviews-section h3 {
    color: var(--primary-color) !important;
    font-size: 24px !important;
    margin-top: 50px !important;
    margin-bottom: 30px !important;
    font-weight: 700 !important;
}

.review-item {
    background: #FAFAFA !important;
    border: 1px solid #EEE !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
}

.review-item h5 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.rating-display i {
    color: var(--brand-color) !important;
    margin-right: 2px !important;
}

.rating-display span {
    color: var(--text-body) !important;
}

.swiper-pagination-bullet-active {
    background: var(--brand-color) !important;
}
