/*!
Theme Name: JGDesign
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jgdesign
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

JGDesign is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =================================
   GLOBAL STYLES & VARIABLES
   ================================= */

:root {
    --primary: #C6034B;
    --primary-light: #fbeec1;
    --accent: #3BFAD4;
    --dark: #412234;
    --white: #ffffff;
}

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

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--primary-light);
}

html, body {
    overflow-x: hidden;
}

.JayServicePath-font-baloo {
    font-family: 'Baloo 2', cursive;
}

.JayServicePath-font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* WordPress Container Overrides */
.entry-content,
.post-inner,
.wp-block-group,
.wp-block-cover,
.content-area,
#content,
article,
.entry,
.site-content {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* =================================
   HERO SECTION
   ================================= */

.hero-section {
    background: url('http://www.jgriffithmedia.com/wp-content/uploads/2025/05/PXL_20240719_173721798_edited.avif') no-repeat center center;
    background-size: cover;
    height: 40vh;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: none !important;
    box-sizing: border-box;
    border: none;
    outline: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-section > div {
    position: relative;
    z-index: 2;
}

.smaller-title {
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    top: 50px;
}

.smaller-title::before, 
.smaller-title::after {
    content: '✦';
    font-size: 3rem;
    top: 50px;
    color: white;
}

.large-title {
    font-size: 4.5rem;
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    color: white;
    text-align: center;
    letter-spacing: 2px;
    margin-top: 0;
    margin-left: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 100%;
}

.hero-section:after,
.hero-section:before {
    box-shadow: none;
}

.alignwide,
.alignfull {
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* =================================
   ABOUT SECTION
   ================================= */

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 90vh;
    max-height: 1200px;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    background-color: #fbeec1;
    border-top: 3px solid #C6034B;
    border-bottom: 3px solid #C6034B;
}

.left-side {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px 40px 40px;
    background-color: #fbeec1;
    position: relative;
}

.right-side {
    background-color: #fbeec1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    position: relative;
}

.quote-box {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    border-top: 4px solid #C6034B;
    border-bottom: 4px solid #C6034B;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(59, 250, 212, 0.1) 100%);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(198, 3, 75, 0.1);
    position: relative;
    top: 30px;
}

.quote-box blockquote {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: #412234;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-style: italic;
}

.about-box {
    max-width: 900px;
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(65, 34, 52, 0.1) 100%);
    padding: 25px;
    border-radius: 25px;
    border: 3px solid #C6034B;
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 25px rgba(198, 3, 75, 0.1);
    position: relative;
    top: 60px;
    bottom: 30px;
}

.about-box h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 4rem;
    text-align: center;
    font-weight: 900;
    margin-bottom: 20px;
    color: #C6034B;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-box p {
    font-size: 1.8rem;
    color: #412234;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-box p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #C6034B;
}

.photo-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-left: 80px;
}

.main-photo {
    width: 100%;
    height: 900px;
    border-radius: 20px;
    border: 0px solid #C6034B;
    box-shadow: 0 8px 20px rgba(59, 250, 212, 0.2);	
    transition: all 0.03s ease;
    background-position: center;
    overflow: hidden;
    position: relative;
    left: 90px;
}

.main-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 250, 212, 0.1) 0%, transparent 50%, rgba(65, 34, 52, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
}

.main-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(59, 250, 212, 0.3);
}

.main-photo:hover img {
    transform: scale(1.05);
}

.divider {
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 4px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(59, 250, 212, 0.4) 27%, 
        rgba(198, 3, 75, 0.8) 57%, 
        rgba(65, 34, 52, 0.4) 75%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 2px;
}

/* =================================
   INTERESTS SECTION
   ================================= */

.jaxinterests-personal-interests {
    max-width: 1800px;
    background-color: #fbeec1;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.jaxinterests-interests-header {
    text-align: center;
    margin-bottom: 50px;
}

.jaxinterests-interests-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 5rem;
    font-weight: 900;
    color: #C6034B;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.jaxinterests-interests-header p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #412234;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.jaxinterests-interest-section {
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
    align-items: center;
}

.jaxinterests-reverse {
    flex-direction: row-reverse;
}

.jaxinterests-interest-text {
    flex: 1;
}

.jaxinterests-interest-text h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.4rem;
    font-weight: 800;
    color: #C6034B;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.jaxinterests-interest-text h3:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #C6034B, #3BFAD4);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.jaxinterests-reverse .jaxinterests-interest-text h3:after {
    left: auto;
    right: 0;
}

.jaxinterests-interest-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #412234;
    font-weight: 500;
}

.jaxinterests-interest-image {
    flex: 1;
}

.jaxinterests-image {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #412234;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    border: 0px solid #C6034B;
    background-color: #fbeec1;
    box-shadow: 0 15px 35px rgba(198, 3, 75, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.jaxinterests-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.jaxinterests-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(198, 3, 75, 0.25);
}

/* =================================
   EDUCATION & SKILLS SECTION
   ================================= */

.jaylanding-education-section {
    width: 100vw;
    max-width: none;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    padding: 80px 0;
    background-color: #412234;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #C6034B;
    border-bottom: 3px solid #C6034B;
}

.jaylanding-education-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(59, 250, 212, 0.1), rgba(198, 3, 75, 0.1));
    border-radius: 50%;
    animation: jaylanding-float-1 12s ease-in-out infinite;
}

.jaylanding-education-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(251, 238, 193, 0.15), rgba(59, 250, 212, 0.1));
    transform: rotate(45deg);
    animation: jaylanding-float-2 10s ease-in-out infinite;
}

.jaylanding-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.jaylanding-section-title {
    font-family: 'Baloo 2', cursive;
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: #fbeec1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.jaylanding-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #C6034B, #3BFAD4);
    border-radius: 2px;
}

.jaylanding-section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: rgba(251, 238, 193, 0.9);
    font-weight: 600;
    line-height: 1.6;
}

.jaylanding-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.jaylanding-education-card {
    background: rgba(251, 238, 193, 0.96);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #C6034B;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.jaylanding-education-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(59, 250, 212, 0.08) 0%, transparent 60%);
    animation: jaylanding-card-shimmer 10s ease-in-out infinite;
}

.jaylanding-education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: #3BFAD4;
}

.jaylanding-card-image {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.jaylanding-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.jaylanding-card-title {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    font-weight: 800;
    color: #C6034B;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.jaylanding-card-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.jaylanding-school-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #412234;
    margin-bottom: 8px;
    text-align: center;
}

.jaylanding-degree-info {
    font-size: 1.1rem;
    color: #412234;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.jaylanding-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 18px;
    background: rgba(198, 3, 75, 0.08);
    border-radius: 12px;
    border-left: 4px solid #C6034B;
}

.jaylanding-detail-item {
    margin-bottom: 8px;
}

.jaylanding-detail-label {
    font-weight: 700;
    color: #C6034B;
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.jaylanding-detail-value {
    color: #412234;
    font-size: 1rem;
    font-weight: 500;
}

.jaylanding-graduation-date {
    display: inline-block;
    background: linear-gradient(135deg, #C6034B, #3BFAD4);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin: 15px auto;
    font-size: 0.95rem;
    text-align: center;
    display: block;
    width: fit-content;
}

.jaylanding-awards-section {
    margin-top: 25px;
    padding: 20px;
    background: rgba(59, 250, 212, 0.08);
    border-radius: 12px;
    border: 2px solid rgba(59, 250, 212, 0.2);
}

.jaylanding-awards-title {
    font-family: 'Baloo 2', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    color: #412234;
    margin-bottom: 15px;
    text-align: center;
}

.jaylanding-award-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.jaylanding-award-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.95);
}

.jaylanding-award-icon {
    font-size: 1.4rem;
    color: #C6034B;
    margin-right: 12px;
    width: 35px;
    text-align: center;
}

.jaylanding-award-text {
    flex: 1;
}

.jaylanding-award-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #412234;
    margin-bottom: 2px;
}

.jaylanding-award-details {
    font-size: 1rem;
    color: #412234;
    opacity: 0.8;
}

.jaylanding-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jaylanding-cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    border: 2px solid rgba(198, 3, 75, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    height: fit-content;
}

.jaylanding-cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #C6034B;
    background: rgba(255, 255, 255, 0.95);
}

.jaylanding-cert-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
    object-fit: contain;
}

.jaylanding-cert-name {
    font-weight: 600;
    color: #412234;
    font-size: 1.1rem;
    line-height: 1.3;
}

.jaylanding-education-card[style*="grid-column"] {
    grid-column: 1 / -1;
    margin-top: 30px;
}

.jaylanding-skills-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.jaylanding-skills-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.jaylanding-skill-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(251, 238, 193, 0.9));
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    transition: all 0.3s ease;
    height: fit-content;
}

.jaylanding-skill-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #C6034B, #3BFAD4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}

.jaylanding-skill-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.jaylanding-skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #C6034B, #412234);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(65, 34, 52, 0.3);
}

.jaylanding-skill-name {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    color: #412234;
    margin-bottom: 15px;
}

.jaylanding-skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jaylanding-skill-list li {
    color: #412234;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

/* =================================
   CONTACT SECTION
   ================================= */

.contact-section {
    padding: 50px 20px;
    background: #fff7e0 url('http://www.jgriffithmedia.com/wp-content/uploads/2025/07/Screenshot-2025-05-27-173323-1.png') center/cover no-repeat;
    border-bottom: 5px solid #C6034B;
    border-top: 5px solid #C6034B;
    position: relative;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.contact-card {
    position: relative;
    z-index: 2;
    background-color: #fff7e0;
    padding: 40px;
    max-width: 700px;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Baloo 2', sans-serif;
    border-radius: 8px;
    border: 2px solid #C6034B;
}

.contact-card h2 {
    font-size: 4rem;
    font-family: 'Baloo 2', cursive;
    color: #C6034B;
    margin-bottom: 20px;
}

.contact-card p {
    font-size: 1.5rem;
    color: #412234;
    margin-bottom: 30px;
    line-height: 10px;
}

.contact-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    width: 48%;
}

.form-input,
input[type="text"],
input[type="email"],
textarea {
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #C6034B;
    font-size: 18px;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

label {
    font-size: 20px;
    color: #444;
    top: 10px;
    bottom: 10px;
}

.form-submit,
button[type="submit"] {
    padding: 12px;
    background: #C6034B;
    color: white;
    border: none;
    border-radius: 38px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover,
button[type="submit"]:hover {
    background: #a9023d;
}

.contact-footer {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
}

.contact-footer a {
    color: #1D4E89;
    text-decoration: underline;
}

/* =================================
   ANIMATIONS
   ================================= */

@keyframes jaylanding-float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(180deg); }
}

@keyframes jaylanding-float-2 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(225deg) translateY(-20px); }
}

@keyframes jaylanding-card-shimmer {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.05); opacity: 0.5; }
}

/* =================================
   RESPONSIVE DESIGN - MOBILE
   ================================= */

/* Desktop Large Screens */
@media (max-width: 1440px) {
    .jaylanding-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

/* Tablets and Large Phones - Desktop About Section */
@media (max-width: 1024px) {
    /* Hero Section */
    .smaller-title {
        font-size: 2.8rem;
        margin-left: 0;
    }
    
    .large-title {
        font-size: 3.5rem;
        margin-left: 20px;
    }

    /* About Section */
    .about-box h1 {
        font-size: 3.5rem;
    }
    
    .photo-container {
        margin-left: 40px;
    }
    
    .main-photo {
        left: 40px;
        height: 700px;
    }

    /* Interests Section */
    .jaxinterests-interests-header h2 {
        font-size: 3.2rem;
    }
    
    .jaxinterests-interest-text h3 {
        font-size: 2.2rem;
    }

    /* Education Section */
    .jaylanding-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 35px;
    }
}

/* Standard Tablets */
@media (max-width: 768px) {
    /* Hero Section */
    .smaller-title {
        font-size: 1.5rem;
    }
    
    .large-title {
        font-size: 2.5rem;
        margin-left: 0;
    }

    /* About Section - Mobile Layout */
    .about-wrapper {
        grid-template-columns: 1fr;
        height: auto;
        padding: 20px 0;
    }

    .left-side {
        padding: 20px;
        justify-content: center;
        order: 2;
    }

    .right-side {
        padding: 20px;
        order: 1;
    }

    .photo-container {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .main-photo {
        height: 400px;
        left: 0;
        margin-left: 0;
    }

    .quote-box {
        top: 0;
        margin-bottom: 20px;
    }

    .quote-box blockquote {
        font-size: 1.5rem;
    }

    .about-box {
        top: 0;
        bottom: 0;
        margin-bottom: 30px;
    }

    .about-box h1 {
        font-size: 2.8rem;
    }

    .about-box p {
        font-size: 1.4rem;
    }

    .divider {
        display: none;
    }

    /* Interests Section */
    .jaxinterests-interest-section,
    .jaxinterests-reverse {
        flex-direction: column;
        gap: 20px;
    }

    .jaxinterests-interest-text h3 {
        font-size: 2rem;
    }

    .jaxinterests-interests-header h2 {
        font-size: 2.8rem;
    }

    .jaxinterests-image {
        height: 200px;
    }

    /* Education Section */
    .jaylanding-education-section {
        margin-top: 40px; /* Reduced spacing */
        padding-top: 40px; /* Reduced padding */
        border-top: 3px solid #C6034B; /* Put border back */
    }

    .jaylanding-content-container {
        padding: 0 20px;
    }

    .jaylanding-section-title {
        font-size: 2.8rem;
        margin-bottom: 40px;
    }

    .jaylanding-cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .jaylanding-education-card {
        padding: 22px;
    }

    .jaylanding-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .jaylanding-cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .jaylanding-skills-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .jaylanding-card-image img {
        height: 160px;
    }

    .jaylanding-skills-banner {
        height: 180px;
    }

    /* Contact Section */
    .contact-card {
        padding: 30px 20px;
    }

    .contact-card h2 {
        font-size: 3rem;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-row input {
        width: 100%;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* About Section */
    .about-wrapper {
        padding: 15px 0;
    }

    .left-side,
    .right-side {
        padding: 15px;
    }

    .photo-container {
        max-width: 320px;
    }

    .main-photo {
        height: 350px;
    }

    .quote-box {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .quote-box blockquote {
        font-size: 1.3rem;
    }

    .about-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .about-box h1 {
        font-size: 2.4rem;
    }

    .about-box p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    /* Interests Section */
    .jaxinterests-interests-header h2 {
        font-size: 2.2rem;
    }
    
    .jaxinterests-interest-text h3 {
        font-size: 1.8rem;
    }

    .jaxinterests-interest-section,
    .jaxinterests-reverse {
        margin-bottom: 50px; /* Decreased spacing between sections */
    }

    .jaxinterests-image {
        height: 280px; /* Increased size for mobile */
    }

    /* Education Section */
    .jaylanding-content-container {
        padding: 0 16px;
    }

    .jaylanding-section-title {
        font-size: 2.6rem;
        margin-bottom: 35px;
    }

    .jaylanding-section-subtitle {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    .jaylanding-education-card {
        padding: 20px;
        border-radius: 16px;
    }

    .jaylanding-card-title {
        font-size: 1.9rem;
    }

    .jaylanding-cert-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jaylanding-skills-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jaylanding-card-image img {
        height: 140px;
    }

    .jaylanding-skills-banner {
        height: 160px;
    }

    .jaylanding-award-item {
        padding: 16px;
        margin-bottom: 14px;
    }

    .jaylanding-cert-item {
        padding: 24px 20px;
    }

    .jaylanding-cert-logo {
        width: 65px;
        height: 65px;
    }

    /* Contact Section */
    .contact-card {
        padding: 25px 15px;
        margin: 0 10px;
    }

    .contact-card h2 {
        font-size: 2.5rem;
    }

    .contact-card p {
        font-size: 1.2rem;
    }

    label {
        font-size: 18px;
    }

    .form-input,
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px;
        padding: 10px;
    }

    .form-submit,
    button[type="submit"] {
        font-size: 18px;
        padding: 10px;
    }
}

/* iPhone 14/13/12/11 Standard */
@media (max-width: 390px) {
    /* About Section */
    .photo-container {
        max-width: 280px;
    }

    .main-photo {
        height: 320px;
    }

    .about-box h1 {
        font-size: 2.2rem;
    }

    .about-box p {
        font-size: 1.1rem;
    }

    .quote-box blockquote {
        font-size: 1.2rem;
    }

    /* Education Section */
    .jaylanding-education-section {
        padding: 60px 0;
    }

    .jaylanding-content-container {
        padding: 0 14px;
    }

    .jaylanding-section-title {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .jaylanding-card-title {
        font-size: 1.8rem;
    }

    .jaylanding-education-card {
        padding: 18px;
    }

    .jaylanding-detail-label {
        font-size: 1rem;
    }

    .jaylanding-detail-value {
        font-size: 0.95rem;
    }

    .jaylanding-graduation-date {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .jaylanding-skills-banner {
        height: 140px;
        border-radius: 12px;
    }

    .jaylanding-skill-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .jaylanding-skill-name {
        font-size: 1.2rem;
    }

    .jaylanding-cert-logo {
        width: 60px;
        height: 60px;
    }

    .jaylanding-cert-name {
        font-size: 1rem;
    }

    /* Contact Section */
    .contact-card h2 {
        font-size: 2.2rem;
    }
}

/* iPhone SE and Very Small Screens */
@media (max-width: 375px) {
    /* About Section */
    .photo-container {
        max-width: 260px;
    }

    .main-photo {
        height: 300px;
    }

    .about-box h1 {
        font-size: 2rem;
    }

    .about-box p {
        font-size: 1rem;
    }

    .quote-box blockquote {
        font-size: 1.1rem;
    }

    /* Education Section */
    .jaylanding-section-title {
        font-size: 2.2rem;
    }

    .jaylanding-card-title {
        font-size: 1.7rem;
    }

    .jaylanding-education-card {
        padding: 16px;
    }

    .jaylanding-card-image img {
        height: 130px;
    }

    .jaylanding-skills-banner {
        height: 130px;
    }

    .jaylanding-details-grid {
        padding: 14px;
    }

    .jaylanding-awards-section {
        padding: 16px;
    }

    .jaylanding-award-item {
        padding: 14px;
    }

    /* Contact Section */
    .contact-card {
        padding: 20px 12px;
    }

    .contact-card h2 {
        font-size: 2rem;
    }
}

/* iPhone SE 1st Gen and Ultra Small */
@media (max-width: 320px) {
    /* About Section */
    .photo-container {
        max-width: 240px;
        margin: 0 auto 25px auto; /* Added bottom margin */
        padding-bottom: 20px; /* Added bottom padding */
    }

    .main-photo {
        height: 280px;
        margin-bottom: 15px; /* Added margin below photo */
        padding-bottom: 20px; /* Added padding below photo */
    }

    .about-box h1 {
        font-size: 1.8rem;
    }

    /* Education Section */
    .jaylanding-content-container {
        padding: 0 12px;
    }

    .jaylanding-section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .jaylanding-card-title {
        font-size: 1.6rem;
    }

    .jaylanding-education-card {
        padding: 14px;
    }

    .jaylanding-card-image img {
        height: 120px;
    }

    .jaylanding-skills-banner {
        height: 120px;
    }

    .jaylanding-skill-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .jaylanding-cert-logo {
        width: 55px;
        height: 55px;
    }

    .jaylanding-graduation-date {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Contact Section */
    .contact-card h2 {
        font-size: 1.8rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 60vh;
    }

    .about-wrapper {
        height: auto;
        min-height: 60vh;
    }

    .jaylanding-education-section {
        padding: 40px 0;
    }

    .jaylanding-section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .jaylanding-section-subtitle {
        margin-bottom: 30px;
    }

    .jaylanding-card-image img {
        height: 100px;
    }

    .jaylanding-skills-banner {
        height: 100px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .main-photo:hover,
    .jaxinterests-image:hover,
    .jaylanding-education-card:hover,
    .jaylanding-cert-item:hover,
    .jaylanding-award-item:hover,
    .jaylanding-skill-box:hover {
        transform: none;
    }

    .main-photo:active,
    .jaylanding-education-card:active {
        transform: scale(0.98);
    }

    .jaylanding-cert-item:active,
    .jaylanding-award-item:active {
        transform: scale(0.96);
    }

    /* Larger touch targets for mobile */
    .jaylanding-award-item {
        min-height: 48px;
    }

    .jaylanding-cert-item {
        min-height: 120px;
    }

    .form-submit,
    button[type="submit"] {
        min-height: 44px;
        touch-action: manipulation;
    }
}