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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container with responsive margins */
.container {
    max-width: 1400px;
    margin: 0 auto;

}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(20px, 5vw, 80px);
}

.logo {
    height: clamp(45px, 8vw, 60px);
    width: auto;
    max-width: 230px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #0066cc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #0066cc;
    transform: translateY(-2px);
}

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

/* Hero Section - Responsive */
.hero {
    background: linear-gradient(155deg, #0a1c5a 0%, #2b4183 50%, #3249ae 100%);
    min-height: clamp(500px, 80vh, 900px);
    color: white;
    padding: clamp(100px, 15vh, 140px) clamp(20px, 5vw, 80px) clamp(40px, 8vh, 80px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/background-img/bg.jpg') no-repeat center center;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero .container {

    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 2;
    width: 100%;
    margin-right: 10%;
    margin-top: 18%;
    max-width: clamp(400px, 50vw, 700px);
    text-align: left;
    padding-right: clamp(10px, 5vw, 50px);
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    opacity: 0.95;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons - Responsive */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: clamp(10px, 2vh, 14px) clamp(24px, 4vw, 35px);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

/* Sections - Responsive padding */
section {
    padding: clamp(50px, 10vh, 100px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vh, 4rem);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #0066cc;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.section-header p {
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
}

/* About Section - Responsive */
.about {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    min-height: clamp(400px, 70vh, 700px);
    position: relative;
    background: url('../images/background-img/about.png') no-repeat center top;
    background-size: 2600px auto;
    background-position: center top;
    -webkit-mask-image: radial-gradient(circle at top left, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle at top left, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}

.about-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 clamp(15px, 3vw, 40px);
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: clamp(1.2rem, 2.5vh, 1.8rem);
    color: #0c0000;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    line-height: 1.7;
}

.about-content p:nth-child(2) {
    animation-delay: 0.2s;
}

/* Services Container - Responsive */
.services-container {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 8vh, 70px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(15px, 3vw, 30px);
    box-sizing: border-box;
}

.service-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    align-items: flex-start;
    gap: clamp(30px, 5vw, 60px);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    transition: all 0.3s ease;
    width: 100%;
    padding: clamp(1rem, 2vh, 2rem) 0;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:hover {
    transform: translateY(-10px);
}

/* Service Image - Responsive */
.service-image {
    width: 100%;
    max-width: 650px;
    height: clamp(250px, 40vh, 400px);
    border-radius: 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    margin: 0 auto;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-image:hover::before {
    transform: translateX(100%);
}

.service-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

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

/* Service Content - Responsive */
.service-content {
    padding: clamp(10px, 2vw, 20px);
    position: relative;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    color: #0e0101;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
}

.service-content h3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #0066cc;
    bottom: -8px;
    left: 0;
    transition: width 0.4s ease;
}

.service-item:hover .service-content h3 {
    color: #0066cc;
}

.service-item:hover .service-content h3::after {
    width: 60px;
}

.service-content p {
    text-align: left;
    color: #0f0101;
    line-height: 1.8;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    transition: color 0.3s ease;
}

.service-item:hover .service-content p {
    color: #555;
}

/* See More Button - Responsive */
.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: clamp(0.8rem, 2vh, 1.2rem);
    padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vw, 28px);
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.see-more-btn:hover::before {
    left: 100%;
}

.see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.see-more-btn:active {
    transform: translateY(0);
}

.see-more-btn::after {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.see-more-btn.expanded::after {
    transform: rotate(90deg);
}

/* More Content Expansion */
.more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
}

.more-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: clamp(0.8rem, 2vh, 1.2rem);
    transform: translateY(0);
}

/* Reverse Layout */
.service-reverse {
    direction: ltr;
}

/* Careers Section */
#career {
    padding: clamp(50px, 10vh, 100px) clamp(20px, 5vw, 80px);
    background: #f9fcff;
}

.careers-container {
    margin-top: 30px;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 0.5fr));
    gap: clamp(30px, 5vw, 40px);
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: 20px;
    padding: clamp(25px, 4vw, 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    max-width: 120%;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.job-card h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: #0066cc;
    margin-bottom: 1rem;
    font-weight: 700;
}

.job-card p {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: clamp(10px, 2vh, 14px) clamp(24px, 4vw, 35px);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Job Details Page */
.job-details {
    display: none;
    padding: clamp(50px, 10vh, 100px) clamp(20px, 5vw, 80px);
    background: #f8f9fa;
    min-height: 100vh;
}

.job-details.active {
    display: block;
}

.job-details-container {
    max-width: 1000px;
    margin: 60px auto;
    background: white;
    border-radius: 20px;
    padding: clamp(30px, 5vw, 50px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #666;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.back-btn:hover {
    background: #555;
}

.job-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #0066cc;
    margin-bottom: 2rem;
    font-weight: 700;
}

.job-section {
    margin-bottom: 2rem;
}

.job-section h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.job-section p,
.job-section ul {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: #555;
    line-height: 1.8;
}

.job-section ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.job-section li {
    margin-bottom: 0.5rem;
}

/* Application Form */
.application-form {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

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

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: inline-block;
    padding: 12px 24px;
    background: #f0f0f0;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.file-upload-label:hover {
    background: #e8e8e8;
    border-color: #0066cc;
}

.file-name {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}

@media (max-width: 768px) {
    .careers-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section - Responsive */
.contact {
    background: #f8f9fa;
    padding: clamp(50px, 10vh, 100px) clamp(20px, 5vw, 80px);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vh, 2.5rem);
}

.contact-item h4 {
    color: #333;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

.contact-item a {
    color: #0066cc;
    text-decoration: none;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

.contact-cta {
    text-align: center;
}

.contact-cta p {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    color: #666;
}

/* Footer - Responsive */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #333;
    color: white;
    padding: clamp(2rem, 5vh, 3.5rem) clamp(20px, 5vw, 80px);
    gap: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(30px, 5vw, 60px);
    width: 100%;
    align-items: flex-start;
}

.footer-brand p {
    color: #ccc;
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-brand a {
    display: inline-block;
    margin-top: 10px;
}

.footer-brand a.linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9e9e9;
    text-decoration: none;
}

.footer-brand a.linkedin-icon i.fab.fa-linkedin {
    color: #6c6c6c !important;
    font-size: 30px;
}

.footer-links {
    display: flex;
    gap: clamp(1rem, 2vh, 1.5rem);
    flex-direction: column;
}

.footer-links h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1.5rem, 3vh, 2rem);
    margin-top: clamp(1.5rem, 3vh, 2rem);
    border-top: 1px solid #555;
    color: #ccc;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.footer-map h4 {
    margin-bottom: 10px;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-map {
    min-width: 250px;
}

.footer-map iframe {
    width: 100%;
    max-width: 100%;
    height: clamp(200px, 30vh, 280px);
    border-radius: 10px;
}

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

/* Enhanced interactions */
.services-container:hover .service-item:not(:hover) {
    opacity: 0.6;
    transform: scale(0.98);
}