/* ===================================================================
 * Baja PM Page Specific Styles
 * ------------------------------------------------------------------- */

/* Header Styles */
header {
   position: relative;
   height: 800px;
   width: 100%;
   background: #ffffff url(../Images/coverphoto.JPG) no-repeat center center;
   background-size: cover !important;
   -webkit-background-size: cover !important;
   text-align: center;
   overflow: hidden;
}

header:before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, .7); /* Dark overlay for better text visibility */
}

header .banner {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto;
   width: 85%;
   height: 100%;
   padding-bottom: 30px;
}

header .banner-text { 
   width: 100%; 
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   z-index: 1;
}

header .banner-text h1 {
   font: 90px/1.1em 'opensans-bold', sans-serif;
   color: #fff;
   letter-spacing: -2px;
   margin: 0 auto 18px auto;
   text-shadow: 0px 1px 3px rgba(0, 0, 0, .8);
}

/* Project Section Base Styles */
.project-section {
    padding: 60px 0;
    background: #fff;
}

.project-section.alt-bg {
    background: #f8f8f8;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #313131;
    text-align: center;
}

.project-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.large-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 30px 0;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Image */
.hero-image-container {
    text-align: center;
    margin: 40px 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

/* Journey Section */
.journey-block {
    margin-bottom: 60px;
}

.journey-block h3 {
    font-size: 26px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 25px;
}

.journey-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

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

.journey-image {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.journey-text {
    width: 55%;
}

.journey-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.highlight-box {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #11ABB0;
}

.highlight-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 10px;
}

.highlight-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* PM Content Section */
.pm-content {
    text-align: center;
}

.full-width-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    display: block;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #11ABB0;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Transformation Grid */
.transformation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.transformation-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.icon-placeholder {
    font-size: 48px;
    margin-bottom: 20px;
}

.transformation-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 20px;
}

.transform-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.transformation-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Vision Section */
.vision-content {
    margin-top: 40px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.pillar-item {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pillar-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #11ABB0;
    margin-bottom: 20px;
}

.pillar-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Growth Section */
.growth-content {
    margin-top: 40px;
}

.growth-block {
    margin-bottom: 60px;
}

.growth-block h3 {
    font-size: 26px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 30px;
    text-align: center;
}

.image-text-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.image-text-layout.reverse {
    flex-direction: row-reverse;
}

.growth-image {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.growth-text {
    width: 55%;
}

.growth-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.achievement-list li:before {
    content: "✓";
    color: #11ABB0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.technical-highlight {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.technical-highlight h4 {
    font-size: 18px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 15px;
}

.technical-highlight ul {
    list-style: none;
    padding: 0;
}

.technical-highlight li {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.technical-highlight li:before {
    content: "→";
    color: #11ABB0;
    position: absolute;
    left: 0;
}

/* Alumni Section */
.alumni-content {
    text-align: center;
    margin-top: 40px;
}

/* Philosophy Section */
.philosophy-content {
    margin-top: 40px;
}

.philosophy-quote {
    text-align: center;
    margin: 40px 0;
}

.philosophy-quote blockquote {
    font-size: 24px;
    font-style: italic;
    color: #555;
    border-left: 5px solid #11ABB0;
    padding-left: 30px;
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.principle-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.principle-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #11ABB0;
    margin-bottom: 15px;
}

.principle-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.lessons-learned {
    background: #f0f0f0;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.lessons-learned h3 {
    font-size: 24px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 25px;
    text-align: center;
}

.lessons-learned ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.lessons-learned li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.lessons-learned li:before {
    content: "●";
    color: #11ABB0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Impact Section */
.impact-content {
    margin-top: 40px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.impact-item {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.impact-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #11ABB0;
    margin-bottom: 25px;
}

.impact-item ul {
    list-style: none;
    padding: 0;
}

.impact-item li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

.impact-item li:before {
    content: "✓";
    color: #11ABB0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.future-vision {
    margin-top: 50px;
}

.future-vision h3 {
    font-size: 28px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 30px;
    text-align: center;
}

.final-statement {
    background: #11ABB0;
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.final-statement p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

/* Gallery Section */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* ===================================================================
 * Responsive Design
 * ------------------------------------------------------------------- */

/* Tablets */
@media only screen and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .transformation-grid,
    .pillars-grid,
    .principles-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .journey-content,
    .journey-content.reverse,
    .image-text-layout,
    .image-text-layout.reverse {
        flex-direction: column;
    }

    .journey-image,
    .journey-text,
    .growth-image,
    .growth-text {
        width: 100%;
    }

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Devices */
@media only screen and (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .project-description,
    .large-text {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .philosophy-quote blockquote {
        font-size: 18px;
        padding-left: 20px;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-image {
        height: 200px;
    }

    .transformation-item,
    .pillar-item,
    .principle-item,
    .impact-item {
        padding: 25px;
    }

    .final-statement {
        padding: 30px 20px;
    }

    .final-statement p {
        font-size: 16px;
    }
}

/* Small Mobile Devices */
@media only screen and (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }

    .project-description,
    .large-text {
        font-size: 15px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 250px;
    }
}
