/* Global Styles - STIC Professional Color Palette */
:root {
    --primary-navy: #0F1C3F;      /* Main brand color - Deep Navy */
    --charcoal: #2C2C2C;          /* Text & secondary elements */
    --pure-white: #FFFFFF;        /* Backgrounds */
    --accent-gold: #D4AF37;       /* CTAs & highlights */
    --light-sky: #E8F0FE;         /* Section backgrounds */
    --border-color: #E5E7EB;      /* Light gray borders */
    --card-bg: #FFFFFF;           /* White cards */
    --footer-bg: #111827;         /* Dark footer */
    --text-light: #6B7280;        /* Light text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--pure-white);
}

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

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-sky);
}

h1, h2, h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: var(--charcoal);
    line-height: 1.7;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    color: var(--charcoal);
}

.btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #B8941F; /* Darker gold */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Header Styles */
header {
    background: var(--primary-navy);
    color: var(--pure-white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(15, 28, 63, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--pure-white);
}

.logo span {
    color: var(--accent-gold);
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-gold);
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
}

/* Hamburger Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
    margin-right: 0;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--pure-white);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1E2A52 100%);
    color: var(--pure-white);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 70px;
}

.hero h1 {
    color: var(--pure-white);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 400;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-navy);
    font-size: 1.4rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Grid Layouts */
.services-grid, .industries-grid, .technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card, .industry-card, .technology-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(15, 28, 63, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card:before, .industry-card:before, .technology-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
    transition: all 0.3s ease;
}

.service-card:hover, .industry-card:hover, .technology-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 28, 63, 0.15);
}

.service-card:hover:before, .industry-card:hover:before, .technology-card:hover:before {
    width: 6px;
    background: var(--primary-navy);
}

.service-card h3, .industry-card h3, .technology-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-card p, .industry-card p, .technology-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.why-choose-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(15, 28, 63, 0.08);
    border: 1px solid var(--border-color);
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 28, 63, 0.15);
}

.why-choose-item i {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.why-choose-item:hover i {
    color: var(--primary-navy);
    transform: scale(1.1);
}

.why-choose-item h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-choose-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: var(--pure-white);
    text-align: center;
    padding: 40px 0;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.design-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    font-style: italic;
}

/* Page Hero Sections */
.page-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1E2A52 100%);
    color: var(--pure-white);
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 70px;
}

.page-hero h1 {
    color: var(--pure-white);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Contact Form */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--charcoal);
}

.contact-info i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    color: var(--accent-gold);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
    color: var(--charcoal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Tagline Styles */
.tagline {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.2rem;
    padding: 20px;
    background: var(--light-sky);
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

/* Partner Network Styles */
.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    width: 160px;
    height: 90px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-navy);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(15, 28, 63, 0.08);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(15, 28, 63, 0.15);
    border-color: var(--accent-gold);
}

/* Client Logos */
.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logo {
    width: 160px;
    height: 90px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-navy);
    box-shadow: 0 3px 10px rgba(15, 28, 63, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(15, 28, 63, 0.15);
    border-color: var(--accent-gold);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
        margin-right: 15px;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 20px 0;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(15, 28, 63, 0.1);
    }
    
    nav ul.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero, .page-hero {
        padding: 120px 0 60px;
    }
    
    .hero h1, .page-hero h1 {
        font-size: 2.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid,
    .industries-grid,
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card, .industry-card, .technology-card {
        padding: 25px 20px;
    }
    
    .why-choose-item {
        min-width: 100%;
    }
    
    .partner-logos,
    .client-logos {
        gap: 20px;
    }
    
    .partner-logo,
    .client-logo {
        width: 140px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero h1, .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p, .page-hero p {
        font-size: 1rem;
    }
    
    .container {
        width: 95%;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        min-width: 100%;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}

/* Loading animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .industry-card, .technology-card, .why-choose-item {
    animation: fadeInUp 0.6s ease-out;
}