/* Custom CSS for SWES */

:root {
    /* Brand Colors */
    --primary-green: #09BDD8; /* Cyan */
    --primary-green-dark: #07A0B8; /* Darker Cyan */
    --secondary-teal: #052A61; /* Deep Blue */
    --neutral-dark: #1A1A1A;
    --neutral-gray: #2C3E50;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--neutral-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-light { color: #d1d5db !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--neutral-dark); }
.bg-primary { background-color: var(--primary-green); }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-green);
}

.section-header.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.approach-text .section-title::after {
    left: 0;
    transform: none;
}

.section-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-large {
    padding: 15px 32px;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--neutral-dark);
}

.projects .btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.projects .btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-green);
}

.btn-light:hover {
    background-color: var(--bg-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: var(--white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 1px;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a:not(.btn) {
    color: var(--neutral-dark);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) {
    color: var(--primary-green);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--neutral-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.5));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    z-index: 1;
    margin-top: 60px;
}

.hero h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* About Overview */
.about-overview {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-title {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--neutral-gray);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--neutral-dark);
}

.highlight-item i {
    color: var(--primary-green);
    font-size: 20px;
}

.about-visual {
    position: relative;
    height: 100%;
}

.about-img-main {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-experience-box {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--primary-green);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(9, 189, 216, 0.3);
    z-index: 2;
}

.exp-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Vision Section */
.vision-section {
    text-align: center;
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.85)), url('../assets/images/vision-bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.vision-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

.text-primary {
    color: var(--primary-green) !important;
}

/* The SWES Advantage */
.advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantage-card {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.advantage-card:hover {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateX(10px);
}

.adv-icon-wrap {
    font-size: 32px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.adv-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--neutral-dark);
}

.adv-body p {
    font-size: 16px;
    color: var(--neutral-gray);
    line-height: 1.6;
}

.advantage-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .vision-text {
        font-size: 20px;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(5, 42, 97, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--secondary-teal);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.learn-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    gap: 12px;
}

/* Products & Solutions */
#services.bg-light {
    background: linear-gradient(180deg, #F9FBFA 0%, #F0F4F0 100%);
}

.product-categories {
    margin-top: 60px;
}

.category-group {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--neutral-dark);
    border-left: 4px solid var(--primary-green);
    padding-left: 20px;
}

.category-title i {
    color: var(--primary-green);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(9, 189, 216, 0.05);
    position: relative;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(9, 189, 216, 0.12);
    border-color: rgba(9, 189, 216, 0.2);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 189, 216, 0.05) 0%, rgba(5, 42, 97, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover::before {
    opacity: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

.product-item:hover .product-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: rotate(10deg);
}

.product-item h4 {
    font-size: 20px;
    color: var(--neutral-dark);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 12px;
    z-index: 1;
}

.product-desc {
    font-size: 15px;
    color: var(--neutral-gray);
    line-height: 1.5;
    z-index: 1;
    margin: 0;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Approach */
.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.approach-list {
    list-style: none;
    margin-top: 30px;
}

.approach-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.icon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(9, 189, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 24px;
}

.approach-list h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 8px;
}

.approach-list p {
    color: #a0aec0;
}

.rounded-image {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 25px;
}

.project-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(9, 189, 216, 0.1);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info p {
    color: #666;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
    padding: 40px 20px 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: var(--bg-light);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 0 10px;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.team-info p {
    font-size: 14px;
    color: #666;
}

/* Footer */
.footer {
    background-color_: var(--neutral-dark);
    color: #a0aec0;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #a0aec0;
}

.footer a:hover {
    color: var(--primary-green);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-green);
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-green);
    margin-top: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -60px;
    }
    .approach-content {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        margin-top: 0;
    }
}
