:root {
    --primary: #018786;  /* Teal - main theme color */
    --primary-light: #03dac6;
    --primary-dark: #017170;
    --secondary: #FF9800;  /* Orange - representing warmth and energy */
    --accent: #03DAC6;     /* Teal - representing innovation and freshness */
    --dark: #263238;       /* Dark blue-grey for text */
    --text: #455A64;       /* Blue-grey for body text */
    --light-text: #78909C; /* Light blue-grey for secondary text */
    --light-bg: #F5F7FA;   /* Light background */
    --border: #E0E0E0;     /* Light border color */
    --white: #FFFFFF;      /* White */
    --light-accent: rgba(13, 71, 161, 0.1); /* Light blue background */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Work Sans', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

p {
    color: #2c3e50;
}

.lead {
    color: #34495e;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 71, 161, 0.1);
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.float-2 {
    width: 40px;
    height: 40px;
    background-color: rgba(25, 118, 210, 0.1);
    top: 70%;
    left: 10%;
    animation-delay: 1s;
}

.float-3 {
    width: 35px;
    height: 35px;
    background-color: rgba(3, 218, 198, 0.1);
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.card {
    border-radius: 1rem;
    border: none;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.feature-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.feature-card:hover::after {
    width: 100%;
}

.feature-icon {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-3 {
    transition: all 0.3s ease;
}

.header-3.sticky-menu {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.hero-section {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background-color: var(--light-bg);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(13, 71, 161, 0.1), transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(25, 118, 210, 0.1), transparent 40%);
    z-index: 0;
}

.hero-badge {
    background-color: var(--light-accent);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.img-hover {
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.img-hover:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--white) !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.badge.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-dark {
    background-color: var(--dark) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-primary.bg-opacity-10 {
    background-color: rgba(13, 71, 161, 0.1) !important;
}

a {
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.footer-area {
    position: relative;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
               radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
    z-index: 0;
}

@media (max-width: 575.98px) {
    body {
        overflow-x: hidden !important;
    }

    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }

    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    .row > * {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .hero-section {
        padding: 2rem 0 1.5rem !important;
        overflow-x: hidden !important;
    }

    .hero-section .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-section .row[style*="min-height"] {
        min-height: auto !important;
    }

    .hero-section svg.position-absolute,
    svg.position-absolute {
        display: none !important;
    }

    .position-absolute[style*="right: -"],
    .position-absolute[style*="left: -"],
    .position-absolute[style*="bottom: -"],
    .position-absolute[style*="top: -"] {
        position: static !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        margin: 10px auto !important;
        max-width: 100% !important;
        transform: none !important;
    }

    h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    h5 {
        font-size: 1rem !important;
    }

    .display-3 {
        font-size: 1.5rem !important;
    }

    .display-4 {
        font-size: 1.35rem !important;
    }

    [style*="font-size: 2.5rem"],
    [style*="font-size: 2rem"],
    [style*="font-size:2.5rem"],
    [style*="font-size:2rem"] {
        font-size: 1.35rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .card {
        margin-bottom: 1rem !important;
    }

    .card-body {
        padding: 0.75rem !important;
    }

    section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    section[class*="py-4"] {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    section[class*="py-5"] {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .card-img-top[style*="height: 200px"],
    .card-img-top[style*="height: 300px"] {
        height: 120px !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .contact-card {
        padding: 15px !important;
    }

    .badge {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.6rem !important;
    }

    .theme-btn, .btn {
        padding: 10px 20px !important;
        font-size: 0.875rem !important;
        width: auto !important;
        display: inline-block !important;
    }

    .rounded-circle[style*="80px"] {
        width: 50px !important;
        height: 50px !important;
    }

    .rounded-circle[style*="60px"] {
        width: 45px !important;
        height: 45px !important;
    }

    .rounded-circle[style*="48px"] {
        width: 40px !important;
        height: 40px !important;
    }

    .display-3.fw-bold {
        font-size: 1.75rem !important;
    }

    .video-card .card-body {
        padding: 0.75rem !important;
    }

    .contact-method {
        padding: 15px !important;
    }

    .hero-content {
        padding: 0 !important;
    }

    [class*="position-absolute"] {
        max-width: 100% !important;
    }

    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .footer-section {
        overflow-x: hidden !important;
    }

    .footer-widgets-wrapper .row {
        margin: 0 !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 3rem !important;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }

    .card-body {
        padding: 1.25rem !important;
    }

    section[class*="py-4"] {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 5rem 0 3rem !important;
    }
}
