/*Main*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

:root {
    --primary-color: #224f84;
    --secondary-color: #0298af;
    --accent-color: #f79f1b;
    --light-color: #fff;
    --dark-color: #000;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.25);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

/*Navbar*/

.navbar {
    position: fixed;
    background-color: var(--light-color);
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.image-logo {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.brand-text {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    margin-left: -150px;
    padding: 0;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link {
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    color: var(--dark-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    background-color: rgba(247, 159, 27, 0.1);
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-button {
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--secondary-color), #027a8a);
    color: var(--light-color);
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.nav-button:hover {
    background: linear-gradient(135deg, var(--accent-color), #e6890a);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hamburger-button {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger-button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    gap: 0.5rem;
}

.mobile-menu li {
    width: 100%;
    text-align: center;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    transition: var(--transition);
    color: var(--dark-color);
    font-weight: 500;
}

.mobile-menu a:hover {
    background-color: rgba(247, 159, 27, 0.1);
    color: var(--accent-color);
}

.get-started-btn {
    background: linear-gradient(135deg, var(--secondary-color), #027a8a);
    padding: 12px 24px;
    margin-top: 20px;
    border-radius: var(--border-radius-xl);
    color: var(--light-color);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: inline-block;
}

.get-started-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), #e6890a);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/*Hero Section*/

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3rem;
    padding: 7rem 2rem 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d66 50%, var(--secondary-color) 100%);
    color: var(--light-color);
    min-height: 100vh;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-writings {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 500;
}

.hero-p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #027a8a);
    width: auto;
    min-width: 200px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--light-color);
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-button:hover::before {
    width: 300px;
    height: 300px;
}

.hero-button:hover {
    background: linear-gradient(135deg, var(--accent-color), #e6890a);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.image-hero {
    width: 90%;  
}

/*About Section*/

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 2rem 3rem;
    color: var(--light-color);
    grid-column: 1 / -1;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.7)), url(images/company-sec-2.webp);
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 50px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 79, 132, 0.8), rgba(2, 152, 175, 0.6));
    pointer-events: none;
    border-radius: 50px;
}

.about-h2 {
    padding-top: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.about-p {
    padding: 10px 40px 40px 40px;
    text-align: justify;
    width: 95%;
    max-width: 900px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.about-button {
    display: inline-block;
    margin-bottom: 70px;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #027a8a);
    color: var(--light-color);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.about-button:hover {
    background: linear-gradient(135deg, var(--accent-color), #e6890a);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/*Services Section*/

.services-section {
    padding-top: 100px;
    padding-bottom: 50px;
    background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.4)), url(./images/trademark-copyright.webp);
    color: var(--light-color);
    background-position: center;
    background-size: cover;
}

.services-h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    padding-bottom: 80px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-tiles {
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 2rem 1.5rem;
    width: 280px;
    min-height: 350px;
    background: rgba(34, 79, 132, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.services-tiles:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(34, 79, 132, 0.95);
}

.services-tiles h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin: 1rem 0;
    color: var(--light-color);
}

.services-image {
    width: 150px;
    height: 150px;
    margin-top: 20px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.services-tiles:hover .services-image {
    transform: scale(1.05);
}

.services-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    color: white;
    background: linear-gradient(135deg, var(--secondary-color), #027a8a);
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.services-button:hover {
    background: linear-gradient(135deg, var(--accent-color), #e6890a);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

/*Testimonials Section*/

.testimonials-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    color: #fff;
}

.testimonials-h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonials-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    margin: 2rem;
    max-width: 1400px;
}

.testimonials-tiles {
    width: 50%;
	text-align: center;
}

.testimonials-section p {
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    min-height: 250px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.125rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonials-section p:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.testimonials-h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--light-color);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/*Get Started Section*/

.get-started {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.4)), url(./images/other-services.webp);
    padding: 80px 0 20px 0;
    background-position: center;
    background-size: cover;
}

.get-started header {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: var(--light-color);
}

.get-started h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.get-started h4, .get-started p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    width: 90%;
    max-width: 800px;
    line-height: 1.7;
    margin: 0.5rem 0;
    opacity: 0.95;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-color);
    font-weight: 600;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0.75rem 0;
}

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

input {
    margin-top: 10px;
    outline: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1.25rem;
    height: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--light-color);
    font-size: 1rem;
    transition: var(--transition);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(247, 159, 27, 0.2);
}

textarea {
    margin-top: 10px;
    outline: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1.25rem;
    resize: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--light-color);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    min-height: 120px;
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(247, 159, 27, 0.2);
}

.asterisk {
    color: #ff4444;
    font-weight: 700;
    margin-left: 2px;
}

.submit-button {
    display: block;
    margin: 1.5rem auto 0;
    width: auto;
    min-width: 200px;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #027a8a);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--accent-color), #e6890a);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-button:active {
    transform: translateY(-1px);
}

/*Info Section*/

.info-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 5px;
    padding-top: 3rem;
    background-color: var(--light-color); 
}

.info-section img {
    width: 10%;
    height: 10%;;
    margin: 20px;
}

.info-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 2px;
    gap: 0.75rem;
}

.info-links a {
    transition: var(--transition);
    color: var(--dark-color);
    font-weight: 500;
}

.info-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.info-reach {
    width: 60%;
}

.info-reach h3 {
    text-align: center  ;
}

.info-grid {
    display: flex;
    flex-direction: row;
}

.info-tiles {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    margin-bottom: 5px;
    text-align: center;
}

.info-tiles img {
    width: 25%;
    height: auto;
}

.info-icons {
    height: 10%;
    width: 5%;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 2%;
    bottom: 30%;
    gap: 0.5rem;
    z-index: 999;
}

.info-icons a {
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.info-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.info-icons img {
    width: 100%;
}

.footer-section {
    color: var(--dark-color);
}

.footer-section div {
    margin: 1rem auto 0;
    height: 1px;
    width: 99%;
    background-color: var(--dark-color);
}

.footer-section h3 {
    font-weight: 400;
    font-size: 0.9rem;
    margin: 1rem;
    opacity: 0.9;
}

.footer-section a {
    color: var(--secondary-color);
    transition: var(--transition);
    font-weight: 600;
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity var(--transition-speed) ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(110, 205, 139, 0.2);
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(2, 152, 175, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hide-preloader {
    opacity: 0;
    pointer-events: none;
}

/*Media Queries*/

@media (max-width: 478px) {

    .navbar img {
        width: 15%;
        margin-left: 10px;
    }

    .brand-text {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .hamburger-line {
        display: block;
    }
    
    .mobile-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: white;
        position: absolute;
        top: 70px;
        z-index: 1000;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero-section {
        flex-direction: column-reverse;
        padding-bottom: 2rem;
    }

    .hero-writings {
        margin: 10;
        width: 80%;
    }

    .hero-button {
        width: 50%;
        margin: 1rem auto;
    }

    .about-h2 {
        padding-top: 70px;
    }

    .about-button {
        margin-bottom: 20px;
    }

    .testimonials-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonials-tiles {
        width: 80%;
    }

    .info-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-reach {
        width: 100%;
        margin-top: 10px;;
    }

    .info-grid {
        flex-direction: column;
        align-items: center;
    }

    .info-tiles {
        width: 80%
    }

    .info-icons {
        width: 15%;
        height: 45%;
        left: 85%;
        top: 65%;
    }

    .info-icons img {
        width: 80%;
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

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

@media (max-width: 991px) {
    .brand-text {
        font-size: clamp(0.75rem, 1.2vw, 0.95rem);
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-menu {
        display: none;
    }

    .hamburger-button {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        transform: translateY(-100%);
        transition: transform var(--transition-speed) ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }

    .hero-writings {
        margin: 0 auto;
    }

    .hero-button {
        margin: 2rem auto;
    }
}

@media (min-width: 1920px) {

}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}