/* 
   HUGES - Enterprise Mobility Management
   Main Stylesheet
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --accent-color: #4299e1;
    --dark-color: #1a365d;
    --light-color: #ebf8ff;
    --gray-color: #718096;
    --light-gray: #e2e8f0;
    --white-color: #ffffff;
    --black-color: #1a202c;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black-color);
    background-color: #f8f9fa;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

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

/* Placeholder for images */
.placeholder-img {
    background-color: var(--light-gray);
    width: 100%;
    /* height: 300px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-weight: bold;
    border-radius: 4px;
}

/* Placeholder for logos */
.placeholder-logo {
    background-color: var(--light-gray);
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-weight: bold;
    border-radius: 4px;
}

/* ===== HEADER ===== */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--black-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.9));
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== INTRO SECTION ===== */
.intro {
    text-align: center;
}

.intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.feature {
    flex: 1;
    padding: 30px;
    margin: 0 15px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services {
    text-align: center;
    background-color: var(--light-color);
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service:hover {
    transform: translateY(-5px);
}

.service i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.9));
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 36px;
    color: var(--white-color);
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-section h3 {
    color: var(--white-color);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 10px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--light-gray);
}

.footer-bottom a:hover {
    color: var(--white-color);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(rgba(44, 82, 130, 0.9), rgba(44, 82, 130, 0.9));
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 42px;
    color: var(--white-color);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
}

/* ===== SOLUTIONS PAGE ===== */
.solution-section {
    padding: 80px 0;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.solution-content.reverse {
    flex-direction: row-reverse;
}

.solution-text {
    flex: 1;
}

.solution-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.solution-text p {
    margin-bottom: 20px;
}

.solution-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.solution-text ul li {
    margin-bottom: 10px;
}

.solution-image {
    flex: 1;
}

/* ===== PARTNERS PAGE ===== */
.partners-section, .certifications-section, .oem-partners {
    padding: 80px 0;
}

.partners-section h2, .certifications-section h2, .oem-partners h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.partners-section p, .certifications-section p, .oem-partners p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.partner-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
}

.partner-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certification {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.certification:hover {
    transform: translateY(-5px);
}

.cert-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.certification h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.oem-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.oem-logo {
    width: 150px;
    height: 100px;
    margin-bottom: 20px;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.vision-mission {
    padding: 80px 0;
}

.vm-content {
    display: flex;
    gap: 50px;
}

.vision, .mission {
    flex: 1;
    text-align: center;
    padding: 40px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.vision i, .mission i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.values h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value:hover {
    transform: translateY(-5px);
}

.value i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

.team p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.member-photo .placeholder-img {
    height: 100%;
    border-radius: 50%;
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== CONTACT PAGE ===== */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-form-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.contact-form-container {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.form-info {
    text-align: center;
    margin-bottom: 40px;
}

.form-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    padding: 80px 0;
}

.map-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    background-color: var(--light-gray);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-weight: bold;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature {
        margin-bottom: 30px;
    }
    
    .solution-content, 
    .solution-content.reverse,
    .about-content,
    .vm-content {
        flex-direction: column;
    }
    
    .solution-image,
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
        display: none;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    .hero h2 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-section {
        flex: 100%;
    }
}
