/* 
* Main Stylesheet for Innogenius Website
* This file contains all the main styling for the website
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #0033a0;
    --secondary-color: #ff6b00;
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #f5f5f5;
    --dark-bg: #1a1a1a;
    --border-color: #e0e0e0;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul, ol {
    list-style: none;
}

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

header img {
    width: 100%;
    max-width: 200px;
    max-height: 150px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-tag {
    display: inline-block;
    background-color: rgba(0, 51, 160, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.primary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* ===== HEADER STYLES ===== */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 600;
}

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

.mobile-menu-toggle {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-wrapper {
    background-color: var(--primary-color);
    padding-bottom: -80px;
}

.hero {
    padding: 80px 20px -20px;
    color: var(--light-text);
    text-align: left;
}

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

.hero-content {
    flex: 1;
    max-width: 1000px;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ===== FEATURE BOXES SECTION ===== */
.feature-boxes {
    margin-top: 20px;
    margin-bottom: 40px;
    z-index: 10;
}

.feature-boxes .container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.feature-box {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 15px;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 1rem 0;
    background-color: var(--light-bg);
}

.about-content {
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 5rem 0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    height: 60px;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--light-text);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    height: 60px;
}

.services .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 5px;
    border: none;
    font-family: var(--body-font);
}

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

.contact-form .btn {
    align-self: center;
}

/* ===== FOOTER STYLES ===== */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding-top: 5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-services h4,
.footer-contact h4,
.footer-newsletter h4 {
    margin-bottom: 1.5rem;
}

.footer-services ul li {
    margin-bottom: 0.5rem;
}

.footer-services ul li a {
    color: var(--light-text);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-services ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact address p i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-contact address p a {
    color: var(--light-text);
    opacity: 0.8;
}

.footer-contact address p a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: var(--body-font);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links li a {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0;
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 0.5rem;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--light-text);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ===== ABOUT PAGE STYLES ===== */
.about-content {
    padding: 0rem 0;
}

.about-description {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.vision-mission {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.vm-container {
    display: flex;
    gap: 2rem;
}

.vm-item {
    flex: 1;
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vm-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1.5rem;
    text-align: center;
}

.vm-header span {
    font-weight: 700;
    font-size: 1.2rem;
}

.vm-content {
    padding: 2rem;
}

.core-values {
    padding: 5rem 0;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 2rem;
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.value-content h3 {
    margin-bottom: 0.5rem;
}

.team {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.team-member {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* ===== SERVICES PAGE STYLES ===== */
.services-list {
    padding: 1rem 0;
}

.services-list .services-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}

.why-choose-us {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

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

.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ARTICLES PAGE STYLES ===== */
.articles-section {
    padding: 5rem 0;
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-bar input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-family: var(--body-font);
}

.search-bar button {
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--secondary-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background-color: var(--light-text);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    margin-bottom: 0.5rem;
}

.article-content h3 a {
    color: var(--text-color);
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #777;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-text);
    border-radius: 5px;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.pagination a.next {
    width: auto;
    padding: 0 1rem;
}

.newsletter-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    padding: 5rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
}

.info-item p a {
    color: var(--text-color);
}

.info-item p a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    flex: 1;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form-container h3 {
    margin-bottom: 0.5rem;
}

.contact-form-container p {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
}

.map-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

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

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--light-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.toggle-icon {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .toggle-icon i {
    transform: rotate(45deg);
}