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

:root {
    --primary-color: #4a5875;
    --secondary-color: #5fa8d3;
    --accent-color: #5ec0cc;
    --navy-blue: #3f4f6f;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

p {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.page-transition.fade-in {
    opacity: 1;
    pointer-events: all;
}

/* Fade in page content on load */
body.page-loaded .page-transition {
    opacity: 0;
}
.contactinfo {
	position: absolute;
    left: 0;
    text-align: start;
    padding-left: 2rem;
}

.contact-line {
  display: flex;
  align-items: center;
  margin: 0;              /* optional: tighten spacing */
}

.icon {
  width: 1.5rem;          /* same width for both icons */
  text-align: center;     /* centers icon in its column */
  margin-right: 0.4rem;   /* space before text */
}

/* your email style */
.email-link,
.email-link:visited {
  color: #fff;
  text-decoration: underline;
}

a,
a:visited {
  color: #ffffff;
  text-decoration: underline;
}


.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.8rem 0;
}

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

.nav-brand {
    z-index: 10;
}

.nav-brand a {
    display: block;
}

.nav-brand .logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-brand .logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Language Toggle Button */
.language-toggle {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-left: 1rem;
    z-index: 10;
    position: relative;
}

.language-toggle:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Title Bar Section (Navy Bar) */
.tagline {
	position: absolute;
	top: 0;
	width: 100%;
}
.title-bar {
    margin-top: 68px;
    background-color: var(--navy-blue);
    padding: 1rem;
    text-align: center;
	width: 100%;
}

.title-content {
    max-width: 100%;
}

.title-main {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 300;
    /* letter-spacing: 3px; */
    padding-top: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.title-sub {
    color: var(--white);
    font-size: 2rem;
    font-weight: 400;
    /* letter-spacing: 2px; */
    margin: 0;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-image: url('assets/background.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.hero-feature-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    padding-right: 5%;
}

.feature-text-stacked {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.feature-box-text {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 2rem;
    /* font-weight: 700; */
    letter-spacing: 3px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Fade-in animation from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mission Section */
.mission {
    background-color: var(--white);
    padding: 5rem 0;
}

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

.mission-content h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-content h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.service-card h3 {
    color: var(--navy-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary-color) 100%);
    padding: 5rem 0;
    color: var(--white);
    overflow-x: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    max-width: 100%;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.g-recaptcha {
    margin-bottom: 1.5rem;
}

.submit-btn {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Thank You Message */
.thank-you-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    padding: 3rem;
}

.thank-you-text {
    color: var(--navy-blue);
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.return-btn {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.return-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer p {
    margin: 0.5rem 0;
}

/* About Me Page */
.about-page {
    margin-top: 68px;
    background: linear-gradient(135deg, #909BBC 0%, #909BBC 100%);
    padding-bottom: 0;
}

.page-title {
    color: var(--navy-blue);
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 3rem;
    text-align: left;
    padding-top: 4rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-text .page-title {
	white-space: nowrap;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    overflow: visible;
}

.about-text {
    color: var(--navy-blue);
    font-size: 1.1rem;
    line-height: 1.8;
    overflow: visible;
}

.about-paragraph {
    padding-bottom: 2rem;
    overflow: visible;
	width: 125%
}

/* Cascading text effect for desktop */
.about-top {
    max-width: 115%;
}

.about-bottom {
    max-width: 85%;
}

.about-text p {
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.about-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom;					
    animation: fadeInUp 1s ease-out;									
}

/* Active nav link */
.nav-menu a.active {
    color: var(--secondary-color);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .language-toggle {
        margin-left: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        transform: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-brand .logo {
        height: 48px;
    }

    .title-bar {
        padding: 1rem 0.5rem;
    }

    .title-main {
        font-size: 1.2rem;
        /* letter-spacing: 2px; */
    }

    .title-sub {
        font-size: 1.4rem;
        /* letter-spacing: 1px; */
    }

    .hero {
        min-height: 60vh;
        padding: 2rem 0;
		background-position: 30% center;								
        /*justify-content: center;*/
    }

    .hero-feature-box {
        position: relative;
        padding-right: 0;
        align-items: center;
        padding: 0 1rem;
    }

    .feature-text-stacked {
        align-items: center;
        width: 100%;
    }

    .feature-box-text {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        letter-spacing: 2px;
        width: 100%;
        text-align: center;
    }

    .mission-content h2 {
        font-size: 1.5rem;
    }

    .mission-content h3 {
        font-size: 1.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
        padding: 0 1rem;
    }

    .contact-info h2 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .contact-info p {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-form-wrapper {
        padding: 2rem 1rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
	
	.about-text .page-title {
		white-space: pre-wrap;
	}
	
	.about-paragraph {
		width: 100%
	}
	
	.about-top {
        width: 100%;
        max-width: 100%;
    }

    .about-bottom {
        width: 100%;
        max-width: 100%;
    }

    .about-page {
        padding: 0 1rem;
        overflow-x: hidden;
    }

    .about-text {
        font-size: 1rem;
        margin-bottom: -4rem;
        padding: 0 1rem;
        max-width: 100%;
        overflow: hidden;
    }

    .about-text p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-image {
        position: relative;
        top: 0;
        min-height: auto;
        align-items: flex-end;				  
    }

    .about-image img {
        max-width: 300px;
    }

    .page-title {
        font-size: 2rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 2rem 0 1rem 0;
    }

	.footer {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

    .contactinfo {
        position: static;
        padding-left: 0;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .contact-line {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 1rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .feature-box-text {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .page-title {
        font-size: 1.75rem;
        padding: 1.5rem 0 1rem 0;
    }

    .about-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
	
	.about-text .page-title {
		white-space: pre-wrap;
	}

    .about-page {
        padding: 0 0.5rem;
        overflow-x: hidden;
    }

    .about-text {
        max-width: 100%;
        overflow: hidden;
    }
	
	.about-paragraph {
		width: 100%
	}

    .about-top,
    .about-bottom {
        width: 100%;
        max-width: 100%;
    }
}

/* Extra narrow screens (Galaxy Flip, small phones) */
@media (max-width: 360px) {
    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .title-main {
        font-size: 0.85rem;
    }

    .title-sub {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 0.75rem;
    }

    .container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 1.5rem;
        padding: 1rem 0 0.5rem 0;
    }
	
	.about-paragraph {
		width: 100%
	}

    .about-text {
        font-size: 0.9rem;
        padding: 0 0.25rem;
    }
	
	.about-text .page-title {
		white-space: pre-wrap;
	}

    .about-text p {
        margin-bottom: 1rem;
    }

    .about-page {
        padding: 0 0.25rem;
        overflow-x: hidden;
    }

    .about-text {
        max-width: 100%;
        overflow: hidden;
    }

    .about-image img {
        max-width: 250px;
    }

    .about-top,
    .about-bottom {
        width: 100%;
        max-width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.service-card,
.feature-box {
    animation: fadeIn 0.6s ease-out;
}
