/* Yeshua Generation Church Website Styles */
/* Color Theme: #031926, #468189, #77aca2, #9dbebb, #f4e9cd */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #031926;
    --primary-teal: #468189;
    --secondary-teal: #77aca2;
    --light-teal: #9dbebb;
    --cream: #f4e9cd;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(1.1) contrast(1.2);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cream);
}

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

/* Main Content */
main {
    margin-top: 0;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 50%, var(--secondary-teal) 100%);
    color: var(--white);
    padding: calc(100px + 3rem) 0 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cross" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M10 0v20M0 10h20" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23cross)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--cream);
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--cream);
    color: var(--primary-dark);
}

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

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

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

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

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

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section-alt {
    background-color: var(--cream);
}

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

.section-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* List Styling */
.service-elements ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.service-elements li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.service-elements li i {
    margin-right: 0.75rem;
    width: 1.2rem;
    text-align: center;
    color: var(--primary-teal);
    font-size: 0.9rem;
}

/* Direction lists styling */
.direction-item ul {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0;
}

.direction-item li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-left: 0;
    line-height: 1.5;
}

/* Corporate Location & Directions Section */
.location-header {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #2c7a7b 100%);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
    overflow: hidden;
}

.location-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.location-header .card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.location-header .card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.location-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.location-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.card-content {
    padding: 3rem 2rem;
    background: var(--white);
}

.location-section {
    height: 100%;
    padding: 2rem;
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.location-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.location-section h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.location-section h4 i {
    width: 24px;
    height: 24px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.address-info {
    margin-bottom: 2rem;
}

.address-info p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.address-info p:first-child {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.contact-item:hover {
    border-color: var(--primary-teal);
    background: #f0fdfa;
}

.contact-item i {
    width: 20px;
    height: 20px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.contact-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.direction-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.direction-item h5 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.direction-item h5 i {
    width: 20px;
    height: 20px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.visitor-tip {
    margin-top: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.visitor-tip p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
    font-size: 0.95rem;
}

.location-buttons {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.location-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.location-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #2c7a7b 100%);
    border: none;
    color: var(--white);
}

.location-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 178, 172, 0.3);
}

.location-buttons .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: var(--white);
}

.location-buttons .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

/* General list improvements */
ul:not(.nav-menu):not(.service-elements ul):not(.direction-item ul) {
    padding-left: 1.5rem;
}

ul:not(.nav-menu) li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
}

/* Forms */
.form {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--primary-teal);
    font-size: 0.9rem;
}

.form-input,
.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(70, 129, 137, 0.1);
    transform: translateY(-1px);
}

.form-input:hover,
.form-control:hover {
    border-color: var(--secondary-teal);
}

select.form-input,
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

textarea.form-input,
textarea.form-control {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-help {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    background: var(--white);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-teal);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Form Validation States */
.form-input.error,
.form-control.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input.success,
.form-control.success {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-error.show {
    display: block;
}

/* Button Enhancements */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Form Layout */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form {
        padding: 1.5rem;
    }
    
    .form-input,
    .form-control {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    /* Mobile layout for contact and other pages */
    .row {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Contact page card grids - single column on mobile */
    .card-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Contact page sidebar cards */
    .col-lg-4 .card-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .card {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }
    
    /* Contact form improvements */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .form-input,
    .form-control,
    select.form-input,
    textarea.form-input {
        min-height: 48px;
        border-radius: 8px;
    }
    
    textarea.form-input {
        min-height: 120px;
        resize: vertical;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Social links mobile optimization */
    .social-links {
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    
    /* Contact page specific mobile optimizations */
    .card .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .card-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Map container mobile */
    .map-container {
        height: 300px !important;
    }
    
    /* Contact page typography enhancements */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Contact page specific spacing */
    .section {
        padding: 2.5rem 0;
    }
    
    .card-content {
        padding-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(100px + 3rem) 0 2.5rem 0 !important;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .form {
        padding: 1rem;
    }
    
    .card {
        padding: 1rem !important;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-content h4 {
        font-size: 1rem;
    }
    
    .social-links a {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem;
    }
    
    .card-header {
        padding: 1rem !important;
    }
    
    /* Fix checkbox display on mobile */
    .checkmark {
        width: 22px !important;
        height: 22px !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 4px !important;
        background: var(--white) !important;
        display: block !important;
        position: relative !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
    }
    
    .checkbox-label {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-teal);
}

.footer-section a:hover {
    color: var(--cream);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-teal);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-teal);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--primary-teal);
    padding-top: 1rem;
    text-align: center;
    color: var(--light-teal);
}

/* Video Container Responsive Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    max-width: 100%;
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    /* Enhanced Container and Layout */
    .container {
        padding: 0 1rem;
    }
    
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    /* Enhanced Navigation */
    .header {
        padding: 0.75rem 0;
    }
    
    .navbar {
        padding: 0;
    }
    
    .logo {
        gap: 0.75rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 1.5rem 1rem;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        padding-left: 1rem;
        color: var(--cream);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        padding: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        color: var(--cream);
        transform: scale(1.1);
    }
    
    /* Enhanced Hero Section */
    .hero {
        padding: calc(100px + 3rem) 0 4rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.95;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        min-height: 56px;
    }
    
    .hero-buttons .btn i {
        font-size: 1.2rem;
    }
    
    /* Enhanced Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    /* Enhanced Card Grid */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .card-icon i {
        font-size: 1.75rem;
    }
    
    .card-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .card-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    /* Stack 2-box layout vertically on mobile */
    .col-lg-4 .card-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Enhanced Buttons */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        font-weight: 600;
        min-height: 48px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .btn-outline {
        border-width: 2px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 1.5rem 0;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .social-links a {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        transform: translateY(-2px) scale(1.05);
    }

    /* Video Container Mobile Styles */
    .video-container {
        max-width: 100%;
        margin: 0 auto 2rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Corporate Location Section Mobile Styles */
    .location-header {
        padding: 2.5rem 1.5rem;
        border-radius: 12px 12px 0 0;
    }

    .location-header h3 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .location-header .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .location-header .card-icon i {
        font-size: 1.75rem;
    }

    .card-content {
        padding: 2.5rem 1.5rem;
    }

    .location-section {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .location-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .location-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 56px;
    }

    .direction-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .contact-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
}

/* Mobile-Specific Enhancements */
@media (max-width: 768px) {
    /* Enhanced Touch Targets */
    input, textarea, select {
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 2px solid #e2e8f0;
        transition: all 0.3s ease;
    }
    
    input:focus, textarea:focus, select:focus {
        border-color: var(--primary-teal);
        box-shadow: 0 0 0 3px rgba(70, 129, 137, 0.1);
        outline: none;
    }
    
    /* Enhanced Form Styling */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--text-dark);
        font-size: 1rem;
    }
    
    /* Enhanced Radio Styling */
    input[type="radio"] {
        min-height: auto;
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
        accent-color: var(--primary-teal);
    }
    
    /* Standard checkbox styling (not custom styled ones) */
    input[type="checkbox"]:not(.checkbox-label *) {
        min-height: auto;
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
        accent-color: var(--primary-teal);
    }
    
    /* Better Link Styling */
    a:not(.btn) {
        padding: 0.25rem;
        margin: -0.25rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    a:not(.btn):hover {
        background-color: rgba(70, 129, 137, 0.1);
    }
    
    /* Enhanced List Styling */
    ul:not(.nav-menu) {
        padding-left: 1.5rem;
    }
    
    li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }
    
    /* Better Spacing for Content */
    p + p {
        margin-top: 1rem;
    }
    
    h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
        margin-top: 0.5rem;
    }
    
    /* Enhanced Map Container */
    .map-container {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin: 2rem 0;
    }
    
    /* Better Footer Spacing */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        margin-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Enhanced Mobile Styles for Extra Small Screens */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        max-width: 260px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .card {
        padding: 1.5rem 1.25rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .location-header {
        padding: 2rem 1rem;
    }
    
    .location-header h3 {
        font-size: 1.4rem;
    }
    
    .card-content {
        padding: 2rem 1rem;
    }
    
    .location-section {
        padding: 1.5rem 1rem;
    }
    
    .location-buttons .btn {
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    /* Extra small screen form adjustments */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

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

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Video Container Tablet Styles */
    .video-container {
        max-width: 90%;
        margin: 0 auto 2rem;
    }
}

@media (min-width: 1025px) {
    .container {
        padding: 0 2rem;
    }

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

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 2-box layout for Office Hours and Connect sections */
    .col-lg-4 .card-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Video Container Desktop Styles */
    .video-container {
        max-width: 960px;
        margin: 0 auto 2rem;
    }
}

/* Large screens (iMac and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }

    .hero {
        padding: 6rem 0;
    }

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

    .section {
        padding: 3rem 0;
    }

    /* Video Container Large Screen Styles */
    .video-container {
        max-width: 1120px;
        margin: 0 auto 3rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success and Error Messages */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}