/* Home: Hero - Modern Professional Design */
.hero {
    position: relative;
    min-height: calc(85vh - 70px);
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 25%, #f0f4f8 50%, #ffffff 75%, #f8f9fa 100%);
    background-size: 400% 400%;
    animation: heroGradient 20s ease infinite;
    overflow: hidden;
    margin-top: 70px;
    padding: 50px 20px;
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 45, 105, 0.08) 0%, rgba(5, 45, 105, 0.04) 45%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(5, 45, 105, 0.06) 0%, rgba(5, 45, 105, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 16s ease-in-out infinite reverse;
    filter: blur(40px);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    color: #052D69;
    animation: slideInLeft 0.8s ease-out;
    text-shadow: none;
    max-width: 900px;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes textGlow {
    0%, 100% { 
        filter: drop-shadow(0 4px 20px rgba(5, 45, 105, 0.2)) drop-shadow(0 0 10px rgba(5, 45, 105, 0.1));
    }
    50% { 
        filter: drop-shadow(0 4px 30px rgba(5, 45, 105, 0.4)) drop-shadow(0 0 20px rgba(5, 45, 105, 0.3));
    }
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #052D69, #0a4da3, #052D69, transparent);
    border-radius: 2px;
    animation: underlineExpand 0.8s ease-out 0.6s forwards;
}

@keyframes underlineExpand {
    to { width: 80%; }
}

@keyframes underlineShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-tagline {
    margin-top: 14px;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 400;
    color: #4a5568;
    letter-spacing: 0.1px;
    line-height: 1.6;
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    animation: slideInRight 0.8s ease-out 0.2s both;
    border: none;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes taglineFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 45, 105, 0.08), transparent);
    animation: shimmerTagline 3.5s ease-in-out infinite 1.6s;
    border-radius: 12px;
}

@keyframes shimmerTagline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
    width: 100%;
}

/* Tablet Stats Grid */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 35px 0;
    }
}

/* Mobile Stats Grid */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 25px 0;
        width: 100%;
    }
}

/* Small Mobile Stats Grid */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 25px 0;
    }
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 247, 255, 0.98) 100%);
    border: 2px solid rgba(5, 45, 105, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(5, 45, 105, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(5, 45, 105, 0.08) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(5, 45, 105, 0.2);
    border-color: rgba(5, 45, 105, 0.25);
    background: #ffffff;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-number {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    background: linear-gradient(135deg, #052D69 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.stat-suffix {
    font-size: 0.7em;
    vertical-align: super;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #052D69, transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover .stat-number::after {
    opacity: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-top: 6px;
}

.stat-item:hover .stat-label {
    color: #052D69;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}

/* Tablet Cards Grid */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Mobile Cards Grid */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
}

.card {
    background: #ffffff;
    border: 1px solid rgba(5, 45, 105, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(5, 45, 105, 0.1), 0 2px 5px rgba(5, 45, 105, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 45, 105, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(5, 45, 105, 0.22), 0 4px 12px rgba(5, 45, 105, 0.12);
    border-color: #052D69;
    background: #ffffff;
}

.card:hover::after {
    opacity: 1;
}

.card-media {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: rgba(5, 45, 105, 0.05);
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 45, 105, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.card:hover .card-media {
    transform: scale(1.1);
}

.card:hover .card-media::after {
    opacity: 1;
}

.card:hover .card-media::before {
    left: 100%;
    transition: left 0.5s ease;
}

.card-body {
    padding: 16px 18px 18px;
    position: relative;
    z-index: 2;
}

.card-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-list li {
    position: relative;
    padding-left: 16px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.5;
}

.card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #052D69;
    font-weight: 700;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #000;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #052D69;
    transition: width 0.3s ease;
}

.card:hover .card-title::after {
    width: 100%;
}

.service-card:hover .card-title {
    color: #052D69;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.service-card .card-title {
    transition: all 0.3s ease;
}

.card-text {
    color: #555;
    line-height: 1.5;
    font-size: 13px;
}

.section-cta {
    margin-top: 25px;
    text-align: center;
}

/* Portfolio Preview */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

/* Tablet Portfolio Grid */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile Portfolio Grid */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 11px rgba(5, 45, 105, 0.1);
    border: 1px solid rgba(5, 45, 105, 0.07);
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 45, 105, 0.1), rgba(5, 45, 105, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 10px 28px rgba(5, 45, 105, 0.26);
    border-color: #052D69;
}

.portfolio-media {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-color: rgba(5, 45, 105, 0.05);
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.portfolio-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 45, 105, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.portfolio-item:hover .portfolio-media {
    transform: scale(1.15);
}

.portfolio-item:hover .portfolio-media::after {
    opacity: 1;
}

.portfolio-item:hover .portfolio-media::before {
    left: 100%;
    transition: left 0.5s ease;
}

.portfolio-caption {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #052D69;
    background: rgba(5, 45, 105, 0.08);
    border-top: 1px solid rgba(5, 45, 105, 0.15);
    text-align: center;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(5, 45, 105, 0.95) 0%, rgba(5, 45, 105, 0.9) 100%);
    color: #fff;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
    pointer-events: auto;
}

.portfolio-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.portfolio-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(18px);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 3;
    letter-spacing: 0.4px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay::before {
    width: 300px;
    height: 300px;
}

.portfolio-item:hover .portfolio-name {
    transform: translateY(0);
}

.portfolio-item:hover .btn {
    animation: pulse 2.4s infinite;
}

/* About Preview */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    width: 100%;
}

/* Tablet About Grid */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile About Grid */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
    }
}

.about-text {
    color: #444;
    margin: 12px 0 18px;
    line-height: 1.7;
    font-size: 15px;
}

.about-image {
    height: 260px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-color: rgba(5, 45, 105, 0.05);
    background-repeat: no-repeat;
    border: 2px solid rgba(5, 45, 105, 0.15);
    box-shadow: 0 8px 25px rgba(5, 45, 105, 0.12);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 45, 105, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-media:hover .about-image {
    transform: scale(1.06) translateY(-5px);
    box-shadow: 0 15px 40px rgba(5, 45, 105, 0.25);
    border-color: #052D69;
}

.about-media:hover .about-image::before {
    opacity: 1;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.why-list li {
    padding: 16px 18px;
    border: 1px solid rgba(5, 45, 105, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(5, 45, 105, 0.08);
}

.why-list strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
    color: #052D69;
}

.why-list p {
    margin: 0;
    color: #444;
    font-size: 13px;
    line-height: 1.5;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 100%;
}

.process-step {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(5, 45, 105, 0.12);
    box-shadow: 0 6px 20px rgba(5, 45, 105, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(5, 45, 105, 0.18);
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #052D69;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(5, 45, 105, 0.12);
    box-shadow: 0 4px 20px rgba(5, 45, 105, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #052D69, #0a4da3);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(5, 45, 105, 0.15);
    border-color: rgba(5, 45, 105, 0.2);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating .star {
    color: #ffc107;
    font-size: 18px;
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 48px;
    color: rgba(5, 45, 105, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(5, 45, 105, 0.1);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: #052D69;
    margin: 0 0 4px 0;
}

.testimonial-role {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, #052D69 0%, #0a4da3 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(5, 45, 105, 0.25);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
        opacity: 0.5;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.cta-text {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: #ffffff;
    color: #052D69;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.cta-actions .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    background: transparent;
}

.cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 768px) {
    .cta-card {
        padding: 40px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 50px 0;
    }

    .cards-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 16px;
    }
    .portfolio-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 26px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 70px;
        min-height: calc(90vh - 70px);
        padding: 40px 0 35px;
        width: 100%;
        overflow-x: hidden;
    }

    .hero::before {
        width: 300px;
        height: 300px;
        filter: blur(20px);
    }

    .hero::after {
        width: 250px;
        height: 250px;
        filter: blur(20px);
    }

    .hero-content {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(28px, 9vw, 40px) !important;
        letter-spacing: 0.8px;
        margin-bottom: 16px;
        line-height: 1.2;
        word-wrap: break-word;
        width: 100%;
    }

    .hero-title::before {
        filter: blur(10px);
        opacity: 0.5;
    }

    .hero-title::after {
        bottom: -8px;
        height: 3px;
    }

    .hero-tagline {
        margin-top: 16px;
        padding: 16px 20px;
        font-size: clamp(16px, 5vw, 19px) !important;
        line-height: 1.7;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(5, 45, 105, 0.15);
        width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
        word-wrap: break-word;
    }

    .hero-actions {
        margin-top: 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
        padding: 0 16px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 17px !important;
        font-weight: 600;
        min-height: 50px;
        min-width: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 40px 0;
        width: 100%;
    }

    .stat-item {
        padding: 24px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .stat-number {
        font-size: clamp(28px, 7vw, 42px) !important;
        word-wrap: break-word;
    }

    .stat-label {
        font-size: 14px !important;
        margin-top: 10px;
        word-wrap: break-word;
    }

    .card-media { 
        height: 180px;
        width: 100%;
    }
    
    .portfolio-media { 
        height: 220px;
        width: 100%;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

    .card-body {
        padding: 20px 22px 22px;
        width: 100%;
    }

    .home-contact-details {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-title {
        font-size: 19px !important;
        margin-bottom: 10px;
        word-wrap: break-word;
    }

    .card-text {
        font-size: 15px !important;
        line-height: 1.7;
        word-wrap: break-word;
    }

    #services-preview,
    #portfolio-preview,
    #why-choose {
        padding: 45px 0 35px;
        width: 100%;
        overflow-x: hidden;
    }

    #services-preview .section-header,
    #portfolio-preview .section-header,
    #why-choose .section-header {
        margin-bottom: 24px;
        width: 100%;
    }

    .about-text {
        font-size: 16px !important;
        line-height: 1.8;
        word-wrap: break-word;
    }
    
    .about-image {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 70px;
        min-height: calc(85vh - 70px);
        padding: 35px 0 30px;
        width: 100%;
    }

    .hero-content {
        padding: 0 14px;
        width: 100%;
    }

    .hero-title {
        font-size: clamp(26px, 10vw, 36px) !important;
        margin-bottom: 14px;
        word-wrap: break-word;
    }

    .hero-tagline {
        padding: 14px 18px;
        font-size: clamp(15px, 5.5vw, 18px) !important;
        width: calc(100% - 28px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        margin-top: 24px;
        gap: 12px;
        padding: 0 14px;
        width: 100%;
    }

    .hero-actions .btn {
        padding: 15px 22px;
        font-size: 16px !important;
        min-height: 48px;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 35px 0;
        width: 100%;
    }

    .stat-item {
        padding: 22px 14px;
        width: 100%;
    }

    .stat-number {
        font-size: clamp(26px, 8vw, 40px) !important;
    }

    .stat-label {
        font-size: 13px !important;
        word-wrap: break-word;
    }

    .card-media { 
        height: 160px;
        width: 100%;
    }
    
    .portfolio-media { 
        height: 200px;
        width: 100%;
    }
    
    .about-image {
        min-height: 180px;
        width: 100%;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .home-contact-card {
        padding: 24px;
    }
}

