/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

/* Custom CSS Variables - New Unique Color Scheme */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #1a659e;
    --success-color: #06d6a0;
    --warning-color: #f7931e;
    --error-color: #c1121f;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-secondary: linear-gradient(135deg, #004e89 0%, #1a659e 100%);
    --gradient-accent: linear-gradient(135deg, #06d6a0 0%, #1a659e 100%);
    --gradient-hero: linear-gradient(135deg, #004e89 0%, #1a659e 50%, #ff6b35 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3436;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-padding {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title1{
   background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;  
}

.section-description {
    font-size: 1.2rem;
    color: #636e72;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation - Enhanced Responsive */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(45, 52, 54, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    min-height: 80px;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* Fix navbar collapse visibility */
.navbar-collapse {
    background: rgba(45, 52, 54, 0.98);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
}

/* Hero Section - Enhanced Responsive */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 150px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

.floating-element:nth-child(5) {
    top: 10%;
    right: 10%;
    animation-delay: 3s;
}

.floating-element:nth-child(6) {
    bottom: 10%;
    right: 40%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.floating-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    animation: floatCard 8s ease-in-out infinite;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.floating-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.2);
}

.floating-card.delay-1 {
    animation-delay: 2s;
}

.floating-card.delay-2 {
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.floating-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.floating-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.6;
}

/* About Section */
.about-content {
    padding-right: 2rem;
}

.about-features {
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-item i {
    margin-right: 1rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.about-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .about-overlay {
    opacity: 1;
}

.play-button {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-left: 5px;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid #f1f3f4;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--gradient-secondary);
    color: white;
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.service-card.featured .service-icon {
    background: var(--gradient-primary);
}

.service-card.featured .btn-primary {
    background: white;
    color: var(--secondary-color);
    border-color: white;
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.service-card.featured h3 {
    color: white;
}

.service-card p {
    margin-bottom: 2rem;
    color: #636e72;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: #636e72;
    font-size: 1rem;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-card.featured .service-features li::before {
    color: white;
}

/* Portfolio Section */
.portfolio-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.portfolio-content h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.portfolio-info p {
    color: #636e72;
    margin-bottom: 1.5rem;
}

.portfolio-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-stats .stat {
    background: var(--gradient-primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
}

.team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-info small {
    color: #636e72;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--gradient-secondary);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: white;
    box-shadow: var(--shadow-lg);
}

.stars {
    margin-bottom: 2rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.3rem;
    margin: 0 0.2rem;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info h5 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin: auto;
    top: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Blog Section */
.blog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #636e72;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-content p {
    color: #636e72;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.contact-details h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-details p {
    color: #636e72;
    margin-bottom: 0;
    line-height: 1.6;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links-contact a {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.social-links-contact a:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--gradient-secondary);
    color: white;
}

.footer-brand h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-links h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-newsletter h5 {
    color: white;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 0;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 1rem 2rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-links-bottom {
    display: flex;
    gap: 2rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Responsive Design */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .floating-card {
        padding: 3rem;
    }
}

/* Large Screens (1200px to 1399px) */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .floating-card {
        padding: 2.2rem;
    }
}

/* Medium-Large Screens (992px to 1199px) */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 100px 0;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .floating-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .testimonial-card {
        padding: 2.5rem;
    }
}

/* Medium Screens (768px to 991px) */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        color: #ffffff !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
        text-align: center;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
    }
    
    .hero-stats {
        justify-content: center;
        margin-top: 2rem;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .service-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .service-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .portfolio-card,
    .team-card,
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .footer-links-bottom {
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
}

/* Small-Medium Screens (576px to 767px) */
@media (max-width: 767px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-section {
        padding-top: 80px;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-title1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .floating-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .floating-card h3 {
        font-size: 1.2rem;
    }
    
    .floating-card p {
        font-size: 0.9rem;
    }
    
    .service-card,
    .portfolio-info,
    .team-info,
    .blog-content {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .portfolio-stats {
        justify-content: center;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-title1 {
        font-size: 1.7rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .floating-card {
        padding: 1.2rem;
    }
    
    .floating-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .floating-card h3 {
        font-size: 1.1rem;
    }
    
    .floating-card p {
        font-size: 0.85rem;
    }
    
    .service-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .service-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        top: 1rem;
        right: 1rem;
    }
    
    .portfolio-image img,
    .team-image img {
        height: 200px;
    }
    
    .portfolio-info,
    .team-info,
    .blog-content {
        padding: 1.2rem;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .portfolio-stats .stat {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stars i {
        font-size: 1.1rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-links-contact {
        justify-content: center;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-form .form-control {
        border-radius: 15px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form .btn {
        border-radius: 15px;
        width: 100%;
    }
}

/* Ultra Small Screens (up to 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title1 {
        font-size: 1.5rem;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .service-card,
    .contact-form,
    .contact-info,
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-top: 1rem;
        gap: 1.5rem;
    }
    
    .floating-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon,
    .contact-icon,
    .social-links a,
    .social-links-contact a {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .floating-elements,
    .hero-buttons,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        padding-top: 0;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .service-card,
    .portfolio-card,
    .team-card,
    .blog-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element,
    .floating-card {
        animation: none;
    }
}

/* Focus Styles for Better Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card,
    .portfolio-card,
    .team-card,
    .blog-card,
    .contact-form,
    .contact-info {
        border: 2px solid var(--dark-color);
    }
    
    .text-gradient,
    .section-title,
    .section-title1 {
        -webkit-text-fill-color: var(--dark-color);
        color: var(--dark-color);
    }
}