/* Custom Brand Identity & Stylesheet for Technowaves IT Solution */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --brand-indigo: #382D5E;
    --brand-indigo-rgb: 56, 45, 94;
    --brand-green-mid: #589F43;
    --brand-green-mid-rgb: 88, 159, 67;
    --brand-green-dark: #2C7B5B;
    --brand-green-light: #8CC63E;
    --brand-green-light-rgb: 140, 198, 62;
    
    /* Dark Theme Default Variables */
    --bg-color: #08070d;
    --bg-gradient: radial-gradient(circle at 50% 0%, #16122d 0%, #08070d 100%);
    --card-bg: rgba(22, 20, 38, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-hover-border: var(--brand-green-mid);
    --text-primary: #f4f3f6;
    --text-muted: #9a96b2;
    --navbar-bg: rgba(8, 7, 13, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --footer-bg: #040307;
    --footer-title: #ffffff;
    --footer-text: #9a96b2;
    --input-bg: rgba(25, 22, 43, 0.85);
    --input-border: rgba(255, 255, 255, 0.08);
    
    /* Common Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-green-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-green-mid) 60%, var(--brand-green-light) 100%);
    --gradient-green: linear-gradient(135deg, var(--brand-green-mid) 0%, var(--brand-green-light) 100%);
    --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(140, 198, 62, 0.08), transparent 40%);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-color: #f8f9fc;
    --bg-gradient: radial-gradient(circle at 50% 0%, #ebeef7 0%, #f8f9fc 100%);
    --card-bg: #ffffff;
    --card-border: rgba(56, 45, 94, 0.04);
    --card-hover-border: var(--brand-indigo);
    --text-primary: #1e1b33;
    --text-muted: #6b6885;
    --navbar-bg: rgba(248, 249, 252, 0.85);
    --shadow-color: rgba(56, 45, 94, 0.03);
    --footer-bg: #eae8f0;
    --footer-title: #1e1b33;
    --footer-text: #5f5b77;
    --input-bg: #ffffff;
    --input-border: rgba(56, 45, 94, 0.12);
}

/* Global Styles */
* {
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-indigo);
    border-radius: 5px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-green-mid);
}

/* Header & Navbar */
.navbar-custom {
    background-color: var(--navbar-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    padding: 0.8rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.5rem 1.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.navbar-brand img {
    height: 42px;
    object-fit: contain;
}

.nav-link-custom {
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    font-size: 0.95rem;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.theme-toggle-btn:hover {
    background: var(--card-bg);
    border-color: var(--brand-green-light);
    color: var(--brand-green-light);
}

/* Common Layout Wrapper */
.main-wrapper {
    padding-top: 80px; /* Offset fixed header */
}

/* Gradient Text */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Buttons */
.btn-premium {
    background: var(--gradient-green);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(88, 159, 67, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-premium:hover {
    box-shadow: 0 6px 20px rgba(56, 45, 94, 0.4);
    transform: translateY(-2px);
}

.btn-premium-outline {
    background: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--brand-indigo);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 50px;
}

.btn-premium-outline:hover {
    background: var(--brand-indigo);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 45, 94, 0.3);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(88, 159, 67, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(rgba(56, 45, 94, 0.3) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    z-index: -1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(rgba(88, 159, 67, 0.2) 0%, transparent 70%);
    bottom: 10%;
    right: -10%;
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-bg {
    position: absolute;
    width: 105%;
    height: 105%;
    background: linear-gradient(135deg, rgba(56, 45, 94, 0.1) 0%, rgba(88, 159, 67, 0.15) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobby 12s infinite ease-in-out alternate;
    z-index: -1;
}

.hero-logo-img {
    max-width: 90%;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0px 20px 45px var(--shadow-color);
    animation: floating-logo 6s ease-in-out infinite;
}

@keyframes blobby {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 60%; }
    100% { border-radius: 70% 30% 50% 50% / 40% 30% 70% 60%; }
}

@keyframes floating-logo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Typing Cursor Effect */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--brand-green-light);
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--brand-green-light);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Section Title formatting */
.section-title-container {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-green-light);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-green);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Services section cards */
.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(88, 159, 67, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-green-light);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.glass-card:hover .service-icon-box {
    background: var(--gradient-green);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(88, 159, 67, 0.4);
}

/* Software Products section */
.product-card {
    height: 100%;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-features-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.product-features-list li::before {
    content: '\F2E7'; /* Bootstrap Icons Check */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--brand-green-light);
    font-weight: bold;
}

/* Process Section Timeline */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--card-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

@media (max-width: 768px) {
    .process-timeline::after {
        left: 31px;
    }
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

@media (max-width: 768px) {
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--brand-green-light);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 21px;
        right: auto;
        top: 25px;
    }
}

.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

@media (max-width: 768px) {
    .right-container {
        left: 0%;
    }
}

.right-container::after {
    left: -10px;
}

@media (max-width: 768px) {
    .right-container::after {
        left: 21px;
    }
}

.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 12px;
}

.timeline-step-num {
    background: var(--gradient-green);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

/* Contact Us Section */
.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(88, 159, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green-light);
    font-size: 1.3rem;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.contact-info-text h5 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contact-info-text p, .contact-info-text a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0;
    transition: color 0.3s;
}

.contact-info-text a:hover {
    color: var(--brand-green-light);
}

.contact-form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-primary) !important;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
}

.contact-form-control:focus {
    background-color: var(--input-bg);
    border-color: var(--brand-green-light);
    box-shadow: 0 0 10px rgba(140, 198, 62, 0.2);
}

.contact-form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.map-iframe-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px var(--shadow-color);
    height: 350px;
}

/* Footer style */
.footer-custom {
    background-color: var(--footer-bg);
    border-top: 1px solid var(--card-border);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-custom p {
    color: var(--footer-text);
}

.footer-title {
    color: var(--footer-title) !important;
    font-weight: 700;
}

.footer-title-text {
    color: var(--footer-title) !important;
    font-weight: 700;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 1.2rem;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 0.8rem;
}

.footer-links-list a {
    color: var(--footer-text) !important;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links-list a:hover {
    color: var(--brand-green-mid) !important;
    padding-left: 5px;
}

.contact-info-list li span {
    color: var(--footer-text);
}

.contact-info-list li a {
    color: var(--footer-text) !important;
    transition: all 0.3s;
}

.contact-info-list li a:hover {
    color: var(--brand-green-mid) !important;
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 1.5rem;
    margin-top: 3rem;
    color: var(--footer-text);
}

/* Scroll Animation classes */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Toast Notifications */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    border: 2px solid var(--brand-green-light);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    backdrop-filter: blur(15px);
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-toast.show {
    transform: translateY(0);
}

.custom-toast i {
    color: var(--brand-green-light);
    font-size: 1.5rem;
    margin-right: 0.8rem;
}