/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
    border: 2px solid #0066cc;
}

.btn-primary:hover {
    background-color: transparent;
    color: #0066cc;
}

/* Header & Navigation */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('maai_logo.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 50px;
    border-radius: 5px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

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

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.nav-links ul li a:hover {
    color: #0066cc;
}

.fa-bars, .fa-times {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
}

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

.event-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.logo-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 80px;
}

.venue-info {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    display: inline-block;
    font-weight: 500;
}

.text-logo {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.text-logo.hexaware {
    color: #0066cc; /* Hexaware blue */
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.accent-line {
    height: 4px;
    width: 70px;
    background-color: #0066cc;
    margin: 0 auto;
}

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

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mission Section */
.mission {
    background-color: #f9f9f9;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.mission-content li {
    margin-bottom: 10px;
}

.mission-formula {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #0066cc;
    color: white;
    border-radius: 10px;
}

/* Pillars Section */
.pillar-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.pillar-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.pillar-icon {
    font-size: 3rem;
    color: #0066cc;
    margin-bottom: 20px;
}

/* Team Section */
.team {
    background-color: #f9f9f9;
}

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

.team-member {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    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 15px 30px rgba(0, 0, 0, 0.2);
}

.member-photo {
    font-size: 5rem;
    color: #0066cc;
    margin-bottom: 20px;
}

.linkedin {
    display: inline-flex;
    align-items: center;
    color: #0077b5;
    text-decoration: none;
    font-weight: 500;
}

.linkedin i {
    margin-right: 5px;
}

/* Webinars Section */
.webinars {
    background-color: #fff;
}

.webinars-list {
    max-width: 900px;
    margin: 0 auto;
}

.webinar-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.webinar-item:last-child {
    border-bottom: none;
}

.webinar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.webinar-video {
    margin: 20px 0;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.webinar-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.webinar-description {
    text-align: center;
    margin-top: 20px;
}

/* Events Section */
.events-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.event {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.event:last-child {
    border-bottom: none;
}

.event-date {
    flex: 0 0 150px;
    font-weight: 600;
}

.event-content {
    flex: 1;
}

.event-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

.completed .event-status {
    background-color: #4CAF50;
    color: white;
}

.upcoming .event-status {
    background-color: #FF9800;
    color: white;
}

.event.highlight {
    background-color: rgba(0, 102, 204, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #0066cc;
}

.event-description {
    margin: 15px 0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.event-description ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.event-description li {
    margin-bottom: 5px;
}

/* Contribute Section */
.contribute {
    background-color: #f9f9f9;
}

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

.contribute-list {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.contribute-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contribute-list li i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 1.2rem;
}

.contribute-cta {
    margin: 30px 0;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.footer-links, .footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #0066cc;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 95%;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .pillar-card {
        min-width: calc(50% - 15px);
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }

    .container {
        width: 95%;
    }

    section {
        padding: 40px 0;
    }

    .fa-bars {
        display: block;
        z-index: 1001;
        background-color: #0066cc;
        padding: 10px 15px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    
    .fa-times {
        display: block;
        z-index: 1001;
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        padding: 10px 12px;
    }

    .nav-links {
        position: fixed;
        background: rgba(0, 0, 0, 0.95);
        height: 100vh;
        width: 250px;
        top: 0;
        right: -250px;
        text-align: left;
        z-index: 1000;
        transition: 0.5s;
        padding-top: 60px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .nav-links ul li {
        margin: 0;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links ul li:last-child {
        border-bottom: none;
    }

    .hero {
        min-height: 100vh;
        height: auto;
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .pillar-card {
        min-width: 100%;
    }

    .event {
        flex-direction: column;
        padding: 20px;
        margin-bottom: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .event-date {
        margin-bottom: 10px;
        color: #0066cc;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .webinar-video {
        padding-bottom: 56.25%; /* Maintain aspect ratio on mobile */
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 85%;
    }

    section {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin: 0 -15px;
    }

    .about-image img {
        border-radius: 0;
    }

    .mission-formula h3 {
        font-size: 1.25rem;
    }

    .contribute-list li {
        align-items: flex-start;
    }

    .contribute-list li i {
        margin-top: 5px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .pillar-card:hover,
    .team-member:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .social-icons a:hover {
        transform: none;
    }
}