/* GISA System - Base Styles */
:root {
    --primary-color: #004d40;
    --secondary-color: #00796b;
    --accent-color: #ffb300;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f5f5f5;
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Global Reset for Responsive Design */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
}

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

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

/* ========================================================================= */
/* PREMIUM HEADER & NAVBAR                                                   */
/* ========================================================================= */
.gisa-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.top-bar {
    background: #00261f; 
    color: #e0e0e0;
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.top-bar a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar .divider {
    margin: 0 10px;
    opacity: 0.5;
}

.top-bar-social a {
    margin-left: 15px;
    font-size: 1rem;
}

/* Glassmorphism Navbar */
.gisa-navbar {
    background: rgba(0, 77, 64, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-logo {
    max-height: 55px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.brand-link:hover .nav-logo {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 1px;
}

.brand-tag {
    color: var(--accent-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Premium underline animation */
.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #fff;
}

.nav-item:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 51, 42, 0.98);
    min-width: 240px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.dropdown-menu li a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 25px; /* Premium slide effect */
}

.nav-cta {
    background-color: var(--accent-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.nav-cta:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
}

/* Hamburger Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========================================================================= */
/* PAGE SECTIONS                                                             */
/* ========================================================================= */

.hero-section, .page-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}
.page-header { padding: 60px 20px; }

.hero-section h1, .page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #ffc107;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 179, 0, 0.1);
}

.content-section, .overview-section, .platforms-section, .brand-promise {
    padding: 60px 0;
}

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

.values-list li {
    margin-bottom: 10px;
}

/* Grids */
.platforms-grid, .identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.platform-card, .identity-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.learn-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--primary-color);
}

/* ========================================================================= */
/* FOOTER                                                                    */
/* ========================================================================= */
.gisa-footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3, .footer-section h4 {
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    padding-left: 20px;
    padding-right: 20px;
}

.developer-credit a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* ========================================================================= */
/* RESPONSIVE MEDIA QUERIES                                                  */
/* ========================================================================= */
@media (max-width: 992px) {
    .nav-links { gap: 15px; }
    .nav-item { font-size: 0.9rem; }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        overflow-y: auto;
        max-height: 85vh;
    }
    
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: rgba(0, 0, 0, 0.15);
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 10px;
        padding: 0;
        transform: none;
        transition: all 0.4s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0;
        transform: none;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .top-bar-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-section h1, .page-header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: left;
    }
}

/* ========================================================================= */
/* TEAM SECTION                                                              */
/* ========================================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.team-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--accent-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 77, 64, 0.15);
}

.team-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-light);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 5px 0;
    font-weight: 700;
}

.team-title {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.team-qualifications {
    margin-bottom: 25px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
}

.team-qualifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-qualifications li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.team-qualifications li:last-child {
    margin-bottom: 0;
}

.team-qualifications i {
    color: var(--accent-color);
    margin-top: 3px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.skill-badge {
    background: rgba(0, 121, 107, 0.1);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--secondary-color);
    color: #fff;
}
