/*Global Styles & Variables*/
:root {
    --primary: #4facfe;
    --secondary: #00f2fe;
    --accent: #ff7b29;
    --dark: #1e293b; 
    --light-grey: #f4f7f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Slab', serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    background-color: #ffffff;
    color: var(--dark);
    line-height: 1.6;
}

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

.section-padding {
    padding: 100px 0;
}

.light-bg {
    background-color: var(--light-grey);
}

/* Header */
.main-header {
    position: fixed; 
    top: 0px; 
    left: 0%;
    transform: none; 
    width: 100%;
    max-width: none;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(8px); 
    border-radius: 0px; 
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1); 
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 80px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-slogan {
    font-size: 0.75rem;
    color: #777;
    font-weight: 400;
    margin-top: 4px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0; 
}

nav ul li {
    display: flex;
    align-items: center;
    height: 100%; 
    margin: 0;
    padding: 0;
}

nav ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: clamp(0.9rem, 1vw, 1rem);
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

.nav-contact-btn {
    background-color: var(--accent) !important;
    color: white !important;
    padding: 10px 22px !important;
    border-radius: 5px;
    font-weight: 600 !important;
    display: inline-block;
}

.nav-contact-btn:hover {
    background-color: #e68a00 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 159, 28, 0.3);
}

/* Mobile Menu Checkbox */
.menu-checkbox, .menu-icon {
    display: none;
}

/* Dropdown */
.has-dropdown {
    position: relative;
    padding-bottom: 0px;
}

.dropdown {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.dropdown li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
}

.has-dropdown:hover .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- 100vh Fullscreen Hero (Desktop Diagonal) --- */
.hero-fullscreen {
    height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
    background-position: 80% center;
    z-index: 1;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-text {
    width: 55%; 
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-title {
    font-size: clamp(2.5rem, 4vw, 4.5rem); 
    font-weight: 600;
    line-height: 1.15;
    color: #000000;
    margin-top: 0; 
    margin-bottom: 25px;
}

.hero-description {
    font-size: clamp(1rem, 1.25vw, 1.35rem); 
    color: #333333;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-description br {
    display: none; 
}

.btn-start {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 41, 0.3);
    width: max-content;
}

.btn-start:hover {
    background: #e66a15;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 123, 41, 0.4);
}

/* Features & Services Grid */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 50px;
}

.feature-container, .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card, .service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card i, .feature-card i {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent);
    margin-bottom: 20px;
}

/* Social Icons Styles */
.social-container {
    text-align: center;
    margin-top: 20px;
}

.social-container h3 {
    margin-bottom: 25px;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: var(--dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: #555;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.4s;
}

.icon:hover {
    transform: translateY(-5px);
    color: #fff;
}

.linkedin:hover { background: #0077b5; }
.instagram:hover { background: #e4405f; }
.facebook:hover { background: #1877f2; }
.x-twitter:hover { background: #000000; }
.gmail:hover { background: #db4437; }

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* About us section */

.about-fullscreen {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.5);
}

.about-layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    width: 100%;
    height: 100%;
}

.about-text {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    margin-top: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 20px;
}

.about-description {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    color: var(--dark);
    font-weight: 400;
    line-height: 1.6;
    margin-top: 20px;
}

.mission-vision, .who-we-are, .expertise, .cta-section {
    padding: 80px 0;
}

.mission-vision h2, .who-we-are h2, .expertise h2 {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--dark);
    margin-bottom: 50px;
}

/* Mission & Vision Section */
.mission-vision .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.content-item {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent);
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
}

.content-item h3 {
    color: var(--primary);
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: 15px;
}

.content-item p {
    color: #555;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* Who We Are Section */
.who-we-are {
    text-align: center;
    background-image: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.8)), url('images/who-we-are-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}

.who-we-are h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.who-we-are p {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: #e2e8f0;
    line-height: 1.8;
}

/* Ecosystem of Expertise Section */
.service-category {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eaeaea;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.service-category h3 {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-grey);
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #555;
    font-weight: 500;
}

.service-category ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* CTA Section */
.cta-section {
    background: var(--light-grey);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    color: #000000;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 123, 41, 0.3);
}

.btn-primary:hover {
    background: #e66a15;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 123, 41, 0.4);
    color: var(--white);
}

/* Contact Section Styles */
.contact-header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.contact-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 10px;
    position: relative;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.required-field::after {
    content: '*';
    color: #ff4d4d;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    pointer-events: none;
}

.optional-badge {
    position: absolute;
    right: 15px;
    top: 16px;
    font-size: 0.85rem;
    color: #aaa;
    pointer-events: none;
}

.form-group:not(.required-field) input {
    padding-right: 85px; 
}

.required-field select ~ ::after, 
.required-field:nth-child(5)::after {
    right: 35px;
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #555;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"%3E%3C/polyline%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(79, 172, 254, 0.2);
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.file-input-hidden {
    opacity: 0;
    position: absolute;
    z-index: -1;
    width: 0.1px;
    height: 0.1px;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.file-label:hover {
    color: var(--primary);
}

.file-label i {
    font-size: 1.1rem;
    color: #555;
}

.file-chosen-text {
    font-size: 1rem;
    color: #888;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(79, 172, 254, 0.2);
}

.form-consent {
    font-size: 0.95rem;
    color: #555;
    margin-top: 25px;
}

.form-consent a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-consent a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    text-align: left;
    min-height: 18px;
}

.input-error {
    border: 1px solid #ff4d4d !important;
    border-left: 4px solid #ff4d4d !important;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/*Form submit message */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px 24px;
    position: fixed;
    z-index: 9999;
    right: 30px;
    bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

#toast.success {
    background-color: var(--primary);
}

#toast.error {
    background-color: #ff4d4d;
}

/* Button Loading State */
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-section.full-overlay {
    position: relative;
    text-align: center;
    background-image: linear-gradient(rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.8)), url('images/company.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    padding: 100px 20px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.contact-info-panel h3 {
    color: var(--white);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    margin-bottom: 20px;
}

.contact-info-panel p {
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    color: #e2e8f0;
    line-height: 1.8;
}

.info-items-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    width: max-content;
}

/* Style icon & text lines*/
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px; 
    text-align: left; 
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    background: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
}

/* Text Colors */
.info-text {
    color: #e2e8f0; 
    line-height: 1.5;
}

.info-text strong {
    color: var(--white); 
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.info-text a {
    color: var(--secondary); 
    text-decoration: none;
    transition: 0.3s;
}

.info-text a:hover {
    color: var(--white);
}

/* Privacy policy & Terms*/
.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
        
.legal-wrapper h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--dark);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 15px;
}

.legal-wrapper h2 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-wrapper p, .legal-wrapper li {
    font-size: clamp(1rem, 1.2vw, 1.05rem);
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Smooth nav and scroll */

.main-header {
    transition: all 0.4s ease;
}

.main-header.scrolled {
    padding: 10px 50px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

nav ul li a.active-link {
    color: var(--accent);
}

nav ul li a.active-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    margin-top: 2px;
    border-radius: 2px;
}

/* Responsive media*/

@media (max-width: 992px) {
    .feature-container, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-fullscreen {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-bg-image {
        position: relative;
        order: 1;
        width: 100%;
        height: 400px;
        clip-path: none;
        margin-top: 0;
        background-position: center;
    }

    .hero-layout {
        display: block;
        order: 2;
        margin-top: 30px;
        padding-bottom: 60px;
    }
    
    .hero-text {
        width: 100%;
        text-align: center;
        padding: 0 20px;
        background: transparent;
        margin-top: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .feature-container, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .main-header.scrolled {
        padding: 10px 20px;
    }

    .main-header {
        position: fixed; 
        top: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 15px 20px;
        flex-wrap: wrap; 
        border-radius: 0;
        transform: none;
    }

    .menu-icon {
        display: block;
        font-size: 1.8rem;
        color: var(--dark);
        cursor: pointer;
    }

    nav { width: 100%; }

    nav ul {
        display: none; 
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        text-align: center;
        background: var(--light-grey);
        padding: 20px;
        border-radius: 8px;
    }

    .menu-checkbox:checked ~ nav ul {
        display: flex;
    }

    nav ul li {
        flex-direction: column;
        height: auto; 
        width: 100%;
        justify-content: center;
    }

    .dropdown { 
        display: none !important;
    }

    .has-dropdown > a i {
        display: none !important; 
    }

    .hero-description {
        margin-bottom: 30px;
    }

    .hero-bg-image {
        height: 300px;
    }

    .contact-wrapper {
        padding: 25px;
        margin: 0 15px;
    }

    .mission-vision .content-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision, .who-we-are, .expertise, .cta-section {
        padding: 50px 0;
    }

    .contact-section.full-overlay {
        width: 100%;
        left: 0;
        transform: none;
        padding: 60px 15px;
    }

    .contact-wrapper {
        padding: 30px 20px;
        margin: 0 15px;
        width: auto;
    }

    .file-upload {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-items-wrapper {
        width: 100%;
    }

    .info-item {
        width: 100%; 
        align-items: flex-start;
    }

    .info-text {
        font-size: 0.95rem;
        word-wrap: break-word;
        padding-right: 10px;
    }
}

@keyframes accordionOpen {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Big screen or TV */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px; 
    }
    
    .hero-text {
        width: 50%;
    }
}