/* Global Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #231653;
    --accent-color: #C91C3A;
    --light-color: #F5F5F5;
    --dark-color: #A9A9A9;
    --text-color: #333;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #a71731;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    flex: 0 0 auto;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100px;
    height: auto;
    transition: all 0.3s ease;
}

nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-menu {
    display: flex;
    margin-right: 30px;
}

.main-menu li {
    margin-left: 25px;
}

.main-menu a {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 20px;
    position: relative;
}

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

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.header-contact {
    display: flex;
    flex-direction: column;
    margin-right: 30px;
}

.header-email, .header-phone {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.header-email:hover, .header-phone:hover {
    color: var(--accent-color);
}

.btn-contact {
    background-color: #c91c3a;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #a71731;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(201, 28, 58, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.slide {
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    border-radius: var(--border-radius);
}

.slide-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Updated Hero Section Styles */
.slide-content.left-aligned {
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background */
    padding: 40px;
    border-radius: 0;
    max-width: 584px;
}

.slide-content.left-aligned h1 {
    margin-bottom: 5px;
    line-height: 1.2;
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-red {
    color: #e41937; /* Brighter red for better visibility */
}

.text-blue {
    color: #ffffff; /* White for better visibility */
}

.slide-content.left-aligned h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-description {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-quote {
    background-color: #e41937;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-transform: none;
}

.btn-quote:hover {
    background-color: #c01730;
}

.slide-content .contact-info {
    margin-top: 20px;
}

.slide-content .contact-info p {
    margin-bottom: 8px;
}

.slide-content .contact-info span {
    font-weight: bold;
    display: inline-block;
    width: 100px;
}

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

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

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

.service-card .icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta {
    color: black;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--accent-color);
    color: white;
}

.cta .btn:hover {
    background-color: #e69500; /* Darker orange */
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #000000;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    margin-top: 15px;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: #000000;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;

}

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

.footer-links ul li a {
    color: #000000;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 500;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    color: #000000;
}

.social-icons a i {
    font-size: 18px;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .logo {
        margin-right: 0;
    }
    
    .main-menu {
        margin-right: 15px;
    }
    
    .header-contact {
        display: none;
    }
}

@media (max-width: 1024px) {
    .header-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    
    .logo img {
        max-width: 100px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin-right: 0;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .btn-contact {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        max-width: 100%;
    }
    
    .slide-content.left-aligned {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 30px;
    }
    
    .slide-content.left-aligned h1 {
        font-size: 36px;
        text-align: center;
    }
    
    .slide-content.left-aligned h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .slide-content.left-aligned .btn-quote {
        display: block;
        margin: 0 auto;
        width: 200px;
        text-align: center;
    }
    
    .slide-content .contact-info span {
        width: auto;
        margin-right: 10px;
    }
    
    .footer-logo img {
        max-width: 100px;
    }
    
    .footer-logo p,
    .footer-links ul li a,
    .footer-contact p,
    .footer-bottom {
        font-size: 15px;
    }
    
    .footer-links h3,
    .footer-contact h3,
    .footer-social h3 {
        font-size: 18px;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 90px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Updated Page Header with Image */
.page-header {
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.page-header-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.page-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.7); /* Navy blue with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-header h1 {
    color: white;
    font-size: 42px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Responsive adjustments for page header */
@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .page-header {
        height: 150px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

.values-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.values-list li {
    margin-bottom: 10px;
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    padding: 0 20px;
    color: var(--primary-color);
}

.team-member .position {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0 20px;
}

.team-member p {
    padding: 0 20px 20px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.map-section {
    padding: 40px 0 80px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .contact-item {
        flex-direction: column;
    }
    
    .contact-item i {
        margin-bottom: 10px;
    }
}

/* Updated Contact Form Styles */
.contact-form {
    padding: 30px;
    border-radius: var(--border-radius);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
    background-color: white;
}

.contact-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-send {
    background-color: #c91c3a;
    width: 150px;
    padding: 15px;
    border: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-send:hover {
    background-color: #a71731;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
}

/* Updated Contact Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #333;
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.popup-content .form-group {
    margin-bottom: 20px;
}

.popup-content input[type="text"],
.popup-content input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.popup-content input[type="text"]:focus,
.popup-content input[type="tel"]:focus {
    border-color: #c91c3a;
    outline: none;
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.country-select {
    position: relative;
    min-width: 120px;
    border: none;
    border-right: 1px solid #e0e0e0;
    background-color: #f8f8f8;
}

.country-select select {
    width: 100%;
    height: 100%;
    padding: 0 10px 0 35px;
    border: none;
    background-color: transparent;
    appearance: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.country-select::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.country-select::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #777;
    pointer-events: none;
}

/* Flag icons for select */
.country-select[data-flag="us"]::before {
    background-image: url('https://flagcdn.com/w20/us.png');
}

.country-select[data-flag="ca"]::before {
    background-image: url('https://flagcdn.com/w20/ca.png');
}

.country-select[data-flag="gb"]::before {
    background-image: url('https://flagcdn.com/w20/gb.png');
}

.country-select[data-flag="au"]::before {
    background-image: url('https://flagcdn.com/w20/au.png');
}

.country-select[data-flag="in"]::before {
    background-image: url('https://flagcdn.com/w20/in.png');
}

.country-select[data-flag="mx"]::before {
    background-image: url('https://flagcdn.com/w20/mx.png');
}

.country-select[data-flag="de"]::before {
    background-image: url('https://flagcdn.com/w20/de.png');
}

.country-select[data-flag="fr"]::before {
    background-image: url('https://flagcdn.com/w20/fr.png');
}

.country-select[data-flag="es"]::before {
    background-image: url('https://flagcdn.com/w20/es.png');
}

.country-select[data-flag="cn"]::before {
    background-image: url('https://flagcdn.com/w20/cn.png');
}

.phone-input-group input[type="tel"] {
    border: none;
    border-radius: 0;
}

.popup-send {
    width: 100%;
    margin-top: 10px;
    background-color: #c91c3a;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.popup-send:hover {
    background-color: #a71731;
}

/* Enhanced Success Message Styles */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: 8px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 60px;
    color: #4CAF50;
}

.success-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 28px;
}

.success-content p {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
}

.privacy-policy {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
    color: #777;
}

.privacy-policy a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form result message */
#result {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

#result.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

#result.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    display: block;
}

/* Contact form result message */
.result-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.result-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    display: block;
}

.result-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    display: block;
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
    /* About page header */
    .page-header .header-overlay h1 {
        font-size: 28px;
        padding: 0 15px;
    }
    
    /* About content layout */
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .about-image {
        width: 100%;
    }
    
    /* Vision and values sections */
    .about-text h2 {
        font-size: 24px;
        margin-top: 25px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .values-list li {
        margin-bottom: 15px;
    }
    
    /* Footer adjustments */
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-logo, .footer-links, .footer-contact, .footer-social {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .page-header .header-overlay h1 {
        font-size: 24px;
    }
    
    .about-section {
        padding: 30px 0;
    }
    
    .about-text h2 {
        font-size: 22px;
    }
    
    .values-list li {
        font-size: 15px;
    }
}

/* Ensure images are responsive */
.about-image img {
    max-width: 130%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Improve the values list styling */
.values-list {
    padding-left: 20px;
}

.values-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 5px;
}

.values-list li strong {
    color: var(--primary-color);
}

/* Touch-friendly navigation */
@media (max-width: 768px) {
    .main-menu li a,
    .btn-contact {
        padding: 12px 15px;
        display: block;
    }
    
    .main-menu.active {
        padding: 15px 0;
    }
    
    .mobile-menu-toggle {
        padding: 10px;
        margin-left: 10px;
    }
}

/* Mobile-friendly popup */
@media (max-width: 768px) {
    .popup-content {
        width: 90%;
        max-width: 400px;
        padding: 20px;
    }
    
    .popup-content h2 {
        font-size: 20px;
    }
    
    .close-popup {
        top: 10px;
        right: 10px;
    }
}

/* Mobile-friendly forms */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .phone-input-group {
        flex-direction: column;
    }
    
    .country-select {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* US Phone input styling */
#popupPhone {
    letter-spacing: 0.5px;
}

#popupPhone::placeholder {
    opacity: 0.7;
}

/* Validation styling for popup phone */
#popupPhone:invalid {
    border-color: #dc3545;
}

#popupPhone:focus:invalid {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#popupPhone:valid {
    border-color: #28a745;
}

#popupPhone:focus:valid {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
