/* Reset - Apple-friendly font stack */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header background */
.site-header {
    background-color: #f4f4f4;
    padding: 20px 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header.shrink {
    padding: 5px 40px;
    background-color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo styling */
.logo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: #ff0720;
    transition: font-size 0.3s ease, margin 0.3s ease;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
    line-height: 1.2;
}

.site-header.shrink .logo {
    font-size: 24px;
    color: rgb(200, 0, 25);
}

/* Flex container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 60px;    
    transition: all 0.3s ease;
    z-index: 999;
    padding: 0 20px;
}

/* Navigation */
.nav-links {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 12px;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(255,7,32);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::after {
    content: '';
    position: absolute;
    height: 10px;
    width: 100%;
    bottom: -10px;
    left: 0;
    background: transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    background-color: #f4f4f4;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 0;
    border-radius: 4px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    height: 10px;
    width: 100%;
    top: -10px;
    left: 0;
    background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: black;
    font-weight: normal;
    padding: 0;
    display: block;
}

.dropdown-menu li:hover {
    background-color: #e8e8e8;
}

.dropdown-menu a:hover {
    color: rgb(255,7,32);
}

/* Video section */
.hero-section {
    width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 120px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.hero-video, .hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: block;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: block;
}

/* Body padding */
body {
    padding-top: 10px;
}

/* Three Column Section */
.three-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 20px;
}

/* Shared column styles */
.column,
.column2,
.column3 {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(to bottom, #f4f4f4, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hover effect */
.column:hover,
.column2:hover,
.column3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Images */
.column img,
.column2 img,
.column3 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.column:hover img,
.column2:hover img,
.column3:hover img {
    transform: scale(1.02);
}

/* Content area */
.column-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Headings */
.column h2,
.column2 h2,
.column3 h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ff0720;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Paragraphs */
.column p,
.column2 p,
.column3 p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-top: 0;
}

/* Links */
.column a,
.column2 a,
.column3 a {
    text-decoration: none;
    color: #1e2b3c;
    transition: color 0.2s ease;
}

.column a:hover,
.column2 a:hover,
.column3 a:hover {
    color: #ff0720;
    text-decoration: underline;
}

/* Accent borders */
.column { border-top: 4px solid #4285F4; }
.column2 { border-top: 4px solid #34A853; }
.column3 { border-top: 4px solid #F22B32; }

/* Contact Form */
#contact {
    padding: 60px 20px;
    background: linear-gradient(145deg, #f0f4fa 0%, #e6ecf5 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

#contact h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    color: #1e2b3c; 
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-container {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 25px 45px -12px rgba(0, 20, 50, 0.25);
    padding: 3rem;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #1e2b3c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group textarea {
    border: 2px solid #dbe0e8;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    background: #fafcff;
    transition: all 0.2s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1e2b3c;
    box-shadow: 0 6px 14px rgba(30, 43, 60, 0.08);
    background: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.error-message {
    font-size: 0.85rem;
    color: #d43f3f;
    min-height: 1.2rem;
}

.submit-btn {
    background: #1e2b3c;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    margin: 0.25rem auto 0;
    width: 200px;
    height: 36px;
}

.submit-btn:hover {
    background: #2d4055;
    transform: scale(1.02);
}

/* Captcha */
.captcha-group {
    margin-bottom: 20px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e7ef;
}

.captcha-question input[type="number"] {
    width: 80px;
    text-align: center;
    border: 2px solid #dde3ed;
    border-radius: 5px;
    padding: 8px;
}

/* Logos */
.logos {
    display: inline-block;    
    text-align: center;   
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, #f0f4fa, white);
}

/* Footer */
.footer {
    display: flex;
    max-height: 200px;
    padding: 0.2rem;
    background-color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    color: white;
}

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
    padding: 1rem;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    color: #fff71c;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .logo { font-size: 32px; }
    .nav-links { gap: 15px; }
}

@media screen and (max-width: 992px) {
    .site-header { padding: 15px 30px; }
    .logo { font-size: 28px; }
    .hero-section { margin-top: 100px; }
}

@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }
    .logo { font-size: 24px; margin-bottom: 10px; }
    body { padding-top: 120px; }
}

/* Mobile screens - Optimized for balanced image sizes */
@media screen and (max-width: 600px) {
    /* Stack columns vertically on mobile */
    .three-columns {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .column,
    .column2,
    .column3 {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        overflow: hidden;
    }
    
    /* Make column images smaller and consistent with video */
    .column img,
    .column2 img,
    .column3 img {
        width: 100%;
        height: 200px;  /* Controls image height on mobile */
        max-width: 100%;
        display: block;
        object-fit: cover;  /* Ensures image fills area nicely */
        object-position: center 30%;  /* Focuses on upper-middle of images */
    }
    
    .column h2,
    .column2 h2,
    .column3 h2 {
        font-size: 1.4rem;
    }
}

/* Samsung S25 and modern phones - Further optimized */
@media screen and (max-width: 480px) {
    .site-header {
        padding: 12px 15px;
    }
    
    .site-header.shrink {
        padding: 5px 15px;
    }
    
    .nav-container {
        padding: 0 3px;
    }
    
    /* Logo size */
    .logo {
        font-size: 28px !important;
        margin-bottom: 8px;
        white-space: normal;
        line-height: 1.2;
    }
    
    .site-header.shrink .logo {
        font-size: 22px !important;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .dropdown-menu {
        min-width: 140px;
        font-size: 12px;
    }
    
    body {
        padding-top: 100px;
    }
    
    /* Hero video sizing */
    .hero-section {
        margin-top: 70px;
        width: 100%;
        padding: 0 15px;
    }
    
    .hero-video {
        min-height: 200px;
        max-height: 280px;
        width: 100%;
        object-fit: cover;
    }
    
    /* Column images - balanced with video */
    .column img,
    .column2 img,
    .column3 img {
        height: 180px;  /* Slightly smaller than video height */
        object-fit: cover;
        object-position: center 30%;
    }
    
    .column-content {
        padding: 14px;
    }
    
    .column h2,
    .column2 h2,
    .column3 h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .column p,
    .column2 p,
    .column3 p {
        font-size: 0.95rem;
    }
    
    #contact h2 {
        font-size: 1.1rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .captcha-question {
        flex-wrap: wrap;
    }
}