/* =========================================
   PREMIUM CORPORATE CSS FRAMEWORK
   ========================================= */

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

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

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 3rem; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: var(--button-radius);
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color) !important;
    padding: 12px 24px;
    border-radius: var(--button-radius);
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #fff !important;
}

/* --- Header / Navbar (Glassmorphism) --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.4s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 70px;
}

.main-header .h-100 { height: 100%; }

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links ul li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
    width: 30px;
    z-index: 1010;
}
.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.8) 100%);
    position: relative;
    overflow: hidden;
}

/* Pattern Background Effect */
.hero::before {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    top: -10vw;
    right: -10vw;
    z-index: -1;
    filter: blur(50px);
}
.hero::after {
    content: '';
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: var(--secondary-color);
    opacity: 0.05;
    border-radius: 50%;
    bottom: -10vw;
    left: -10vw;
    z-index: -1;
    filter: blur(50px);
}

.hero-content {
    max-width: 600px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0,0,0,0.05);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.hero h1 span {
    color: var(--primary-color);
}
.hero-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

/* --- Features / Cards --- */
.section { padding: 100px 0; }
.section-light { background-color: #f8f9fa; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}
.section-title { font-size: 2.5rem; }

.card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 58, 138, 0.05); /* Soft primary */
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.card:hover .card-icon {
    background: var(--primary-color);
    color: #fff;
}
.card-title { font-size: 1.3rem; margin-bottom: 15px; }

/* Image Cards (Products/Projects) */
.img-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.img-card:hover {
    transform: translateY(-10px);
}
.img-card-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.img-card:hover .img-card-img {
    transform: scale(1.05);
}
.img-card-body { padding: 25px; }

/* --- Footer --- */
.footer {
    background-color: #111827; /* Dark tailwind gray-900 */
    color: #9CA3AF; /* gray-400 */
    padding: 80px 0 30px;
}
.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
.footer-links li, .footer-contact li {
    margin-bottom: 15px;
}
.footer-contact li i { margin-right: 10px; color: var(--primary-color); }
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hidden-mobile { display: none; }
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.4s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding-top: 40px;
    }
    .nav-links.active { right: 0; }
    .nav-links ul { flex-direction: column; }
    .nav-links ul li { margin: 20px 0; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
}
