:root {
    --primary: #0078C1;
    --secondary: #00A0E3;
    --accent: #00BFFF;
    --light: #E0F7FF;
    --dark: #005A8C;
    --white: #ffffff;
    --text: #333333;
    
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 120, 193, 0.2);
    
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
    position: relative;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: min(1200px, 100vw);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 60px;
    background: var(--accent);
    transition: width 0.5s ease;
}

h2:hover::after {
    width: 120px;
}

p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 120px;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 193, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 120, 193, 0.3);
}

.btn-hero {
    padding: 15px 35px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    min-width: 180px;
    max-width: 100%;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-hero:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.4);
}

.enhanced-btn {
    display: inline-flex;
    height: auto;
    align-items: center;
    padding: 10px 28px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 120px;
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(0, 191, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.enhanced-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 120, 193, 0.4);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
}

header.sticky {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 25px 0;
}

header.sticky nav ul li a {
    color: var(--dark);
}

header.sticky nav ul li a.enhanced-btn {
    color: #ffffff !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: min(1200px, 100vw);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    max-width: 50%;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
}

nav ul li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    max-width: 100%;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

nav ul li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
    position: absolute;
    transform-origin: center;
}

.mobile-toggle span:nth-child(1) {
    top: 8px;
}

.mobile-toggle span:nth-child(2) {
    top: 14.5px;
}

.mobile-toggle span:nth-child(3) {
    top: 21px;
}

header.sticky .mobile-toggle span {
    background: var(--dark);
}

.mobile-toggle.active span {
    background: var(--dark) !important;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14.5px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14.5px;
}

.hero {
    position: relative;
    height: 100vh;
    max-width: 100vw;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/pool-hero.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
    animation: fadeInUp 1s ease;
    width: 100%;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 30px;
}

.hero p {
    color: var(--light);
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-800px) translateX(0);
        opacity: 0;
    }
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
    max-width: 100vw;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 15s infinite linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    max-width: calc(100vw - 20px);
}

.bubble:nth-child(1) { width: 60px; height: 60px; left: 10%; animation-duration: 18s; }
.bubble:nth-child(2) { width: 35px; height: 35px; left: 20%; animation-duration: 12s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 80px; height: 80px; left: 35%; animation-duration: 20s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 45px; height: 45px; left: 50%; animation-duration: 15s; }
.bubble:nth-child(5) { width: 55px; height: 55px; left: 65%; animation-duration: 17s; animation-delay: 5s; }
.bubble:nth-child(6) { width: 70px; height: 70px; left: 80%; animation-duration: 22s; animation-delay: 7s; }
.bubble:nth-child(7) { width: 40px; height: 40px; left: 90%; animation-duration: 16s; animation-delay: 3s; }

.services {
    background-color: var(--light);
    position: relative;
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 100%;
}

.section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    max-width: 100%;
    margin: 10px 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    vertical-align: top;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    margin-bottom: 20px;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 50px;
    align-items: center;
    width: 90%;
    max-width: 90%;
}

.about-img {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.about-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: transform 0.5s ease;
    display: block;
    vertical-align: top;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content h2::after {
    width: 80px;
}

.about-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.about-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    max-width: 100%;
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.projects {
    background-color: var(--light);
    position: relative;
    padding: 60px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
    max-width: 100%;
    margin: 10px 0;
}

.project-img {
    width: 100%;
    height: 100%;
}

.project-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    vertical-align: top;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 78, 193, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.project-overlay p {
    color: var(--light);
    margin-bottom: 0;
}

.testimonials {
    padding: 60px 0;
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s ease;
    max-width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    padding: 30px;
    text-align: center;
}

.testimonial-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin: 40px 0;
    position: relative;
    max-width: 100%;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--white) transparent transparent;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.2rem;
    position: relative;
    padding: 0 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    line-height: 1;
}

.testimonial-content p::before {
    top: -20px;
    left: 0;
}

.testimonial-content p::after {
    bottom: -40px;
    right: 0;
    transform: rotate(180deg);
}

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

.client-info img {
    width: 70px;
    height: 70px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent);
    display: block;
    vertical-align: top;
}

.client-info h4 {
    margin-bottom: 5px;
}

.client-info span {
    color: var(--accent);
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: var(--accent);
}

.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: var(--white);
}

.cta h2::after {
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
}

.cta p {
    color: var(--light);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.cta .btn {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    max-width: 100%;
}

.cta .btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.4);
}

.cta .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 50px;
    width: 100%;
    max-width: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    max-width: 100%;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.form-control::placeholder {
    font-family: 'Montserrat', sans-serif;
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 160, 227, 0.2);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

select.form-control {
    font-family: 'Montserrat', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.field-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 40px;
    width: 90%;
    max-width: 90%;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-col p {
    color: var(--light);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-links li a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: var(--transition);
}

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

.footer-links li a:hover::before {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Montserrat', sans-serif;
}

.copyright a {
    color: var(--accent);
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(420px);
    transition: var(--transition);
    z-index: 10000;
    max-width: min(400px, calc(100vw - 40px));
    min-width: 300px;
    font-family: 'Montserrat', sans-serif;
}

.notification.show {
    transform: translateX(0);
}

.notification.hide {
    transform: translateX(420px);
    opacity: 0;
}

.notification.success { border-left-color: #10b981; }
.notification.error { border-left-color: #ef4444; }
.notification.warning { border-left-color: #f59e0b; }
.notification.info { border-left-color: #3b82f6; }

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    color: #1f2937;
    font-family: 'Montserrat', sans-serif;
}

.notification-message {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.notification-icon {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.notification.success .notification-icon { color: #10b981; }
.notification.error .notification-icon { color: #ef4444; }
.notification.warning .notification-icon { color: #f59e0b; }
.notification.info .notification-icon { color: #3b82f6; }

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    border-radius: 50%;
}

.notification-close:hover {
    color: #374151;
    background: rgba(0, 0, 0, 0.05);
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@media screen and (max-width: 1024px) {
    h1 { font-size: clamp(2rem, 8vw, 3rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid,
    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
        gap: 25px;
    }

    .enhanced-btn,
    .btn-hero {
        min-width: 160px;
        max-width: 100%;
        padding: 12px 28px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
    }

    section { 
        padding: 60px 0; 
    }
    
    .container {
        width: calc(100% - 40px);
        max-width: 100vw;
        padding: 0 5px;
        margin: 0 auto;
    }
    
    h1 { 
        font-size: clamp(1.8rem, 8vw, 2.5rem); 
    }
    
    h2 { 
        font-size: clamp(1.4rem, 6vw, 2rem); 
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 0;
        z-index: 1000;
        transition: var(--transition);
        overflow: visible;
    }
    
    header.sticky {
        background: var(--white);
        box-shadow: var(--shadow-sm);
        padding: 20px 0;
        overflow: visible;
    }
    
    .header-container { 
        padding: 0 20px;
        max-width: 100vw;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        min-height: 70px;
    }
    
    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        width: 32px;
        height: 32px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        order: 2;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
        max-width: calc(100% - 120px);
        margin: 0;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-img {
        height: 60px;
        max-height: 50px;
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, calc(100vw - 40px));
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        overflow-y: auto;
        max-width: calc(100vw - 40px);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    nav ul li a {
        color: var(--dark);
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
        transition: var(--transition);
        text-decoration: none;
        font-weight: 500;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    nav ul li a:hover {
        color: var(--primary);
        padding-left: 10px;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    nav ul li a.enhanced-btn {
        background: var(--accent) !important;
        color: var(--white) !important;
        border: 2px solid var(--accent) !important;
        border-radius: 25px !important;
        padding: 12px 25px !important;
        margin-top: 10px;
        text-align: center;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        min-width: auto;
        width: auto;
        display: inline-block;
        max-width: 100%;
    }
    
    nav ul li a.enhanced-btn:hover {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
        color: var(--white) !important;
        transform: scale(1.05);
        padding-left: 25px !important;
    }
    
    body.nav-open {
        overflow: hidden;
    }

    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .hero {
        height: 80vh;
        margin-top: 0;
        padding: 0 5px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: clamp(1rem, 4vw, 1.1rem);
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-img {
        order: 1;
    }

    .about-content {
        order: 2;
    }
    
    .services-grid,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        height: 250px;
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    
    .cta .btn,
    .enhanced-btn,
    .btn-hero {
        width: 100%;
        max-width: min(280px, 100%);
        text-align: center;
        min-width: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 25px;
        max-width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-content {
        padding: 25px 20px;
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100vw - 20px);
        min-width: auto;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }

    .notification.hide {
        transform: translateY(-100px);
    }

    .bubbles {
        max-width: 100vw;
        overflow: hidden;
    }

    .bubble {
        max-width: calc(100vw - 40px);
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: calc(100% - 30px);
        padding: 0 5px;
    }
    
    h1 { 
        font-size: clamp(1.5rem, 10vw, 2rem); 
        line-height: 1.2;
    }
    
    h2 { 
        font-size: clamp(1.3rem, 8vw, 1.8rem); 
    }
    
    .btn,
    .enhanced-btn,
    .btn-hero { 
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: auto;
        max-width: 100%;
    }
    
    .header-container {
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .mobile-toggle {
        right: auto;
        width: 32px !important;
        height: 32px !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        order: 2;
    }
    
    .logo {
        max-width: calc(100% - 100px);
        margin: 0;
        margin-left: 0;
        order: 1;
    }
    
    .logo-img {
        height: 60px;
        max-width: 100%;
    }
    
    nav ul {
        width: calc(100vw - 20px);
        padding: 70px 20px 20px;
        margin: 0;
    }
    
    nav ul li a {
        padding: 12px 0;
        font-size: 1rem;
    }
    
    .hero {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 10vw, 1.8rem);
    }
    
    .hero p {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }
    
    .project-card {
        height: 220px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer-container {
        gap: 25px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .testimonial-slide {
        padding: 15px;
    }
    
    .testimonial-content {
        padding: 20px 15px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .client-info img {
        width: 60px;
        height: 60px;
    }
    
    .cta .btn,
    .enhanced-btn,
    .btn-hero {
        width: 100%;
        max-width: min(250px, 100%);
    }

    .notification {
        padding: 12px 16px;
        max-width: calc(100vw - 20px);
    }

    .bubble {
        display: none;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 20px;
    }
    
    nav ul {
        padding-top: 70px;
    }
}

.btn:focus,
.form-control:focus,
.mobile-toggle:focus,
nav ul li a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mobile-toggle:focus {
    background: rgba(0, 191, 255, 0.1);
    border-radius: 4px;
}

*[style*="width:"] {
    max-width: 100% !important;
}

table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .bubble {
        animation: none;
        display: none;
    }
    
    .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        opacity: 1;
        transform: none;
    }
}

@media print {
    header {
        position: static;
        background: white !important;
        box-shadow: none;
    }
    
    .mobile-toggle,
    .bubbles,
    .wave-container,
    nav ul,
    .btn,
    .notification {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        height: auto;
        padding: 40px 0;
    }
    
    .hero-content {
        color: var(--dark) !important;
    }
    
    .hero h1 {
        color: var(--dark) !important;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .service-card,
    .project-card,
    .testimonial-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .service-img img,
    .project-img img,
    .about-img img,
    .client-info img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}