/* Improvements CSS for AI Analytics Website */

/* AGGRESSIVE FULL WIDTH FIX - Override Bootstrap 5.3.3 CDN completely */
.container,
.container-fluid,
.container-sm,
.container-md, 
.container-lg,
.container-xl,
.container-xxl {
    max-width: none !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Override Bootstrap 5.3.3 CDN container max-widths with higher specificity */
html body .container,
html body .container-fluid,
html body .container-sm,
html body .container-md, 
html body .container-lg,
html body .container-xl,
html body .container-xxl {
    max-width: none !important;
    width: 100% !important;
}

/* Override Bootstrap responsive breakpoints completely with higher specificity */
@media (min-width: 576px) {
    html body .container, html body .container-sm, html body .container-fluid { max-width: none !important; width: 100% !important; }
}
@media (min-width: 768px) {
    html body .container, html body .container-sm, html body .container-md, html body .container-fluid { max-width: none !important; width: 100% !important; }
}
@media (min-width: 992px) {
    html body .container, html body .container-sm, html body .container-md, html body .container-lg, html body .container-fluid { max-width: none !important; width: 100% !important; }
}
@media (min-width: 1200px) {
    html body .container, html body .container-sm, html body .container-md, html body .container-lg, html body .container-xl, html body .container-fluid { max-width: none !important; width: 100% !important; }
}
@media (min-width: 1400px) {
    html body .container, html body .container-sm, html body .container-md, html body .container-lg, html body .container-xl, html body .container-xxl, html body .container-fluid { max-width: none !important; width: 100% !important; }
}

/* Force ALL sections to use full width */
section {
    width: 100% !important;
    max-width: none !important;
}

/* Force HTML and body to use full width */
html, body {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Navigation Improvements */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none !important;
}

.custom-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.custom-navbar .navbar-brand {
    color: black !important;
    font-weight: 700;
    font-size: 24px;
    transition: all 0.3s ease;
}

.custom-navbar .navbar-brand:hover {
    color: #3498db !important;
    transform: scale(1.05);
}

.custom-navbar .navbar-brand img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
    background-color: white !important;
    padding: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* More specific selector for the logo */
.custom-navbar img.navbar-brand.img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
    background-color: white !important;
    padding: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.custom-navbar .navbar-brand img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25) !important;
}

/* More specific hover selector for the logo */
.custom-navbar img.navbar-brand.img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25) !important;
}

.custom-navbar .navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.custom-navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.custom-navbar .navbar-nav .nav-link:hover::before,
.custom-navbar .navbar-nav .nav-item.active .nav-link::before {
    width: 80%;
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: #3498db !important;
    background: transparent !important;
    transform: translateY(-2px);
}

.custom-navbar .navbar-nav .nav-item.active .nav-link {
    color: #3498db !important;
    background: transparent !important;
}

/* Mobile menu improvements */
.custom-navbar .navbar-toggler {
    border: 2px solid #3498db !important;
    background: transparent !important;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.custom-navbar .navbar-toggler:hover {
    background: #3498db !important;
    transform: scale(1.1);
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25) !important;
}

.custom-navbar .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%2852, 152, 219, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section Improvements */
.hero-section {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 300;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary, .btn-secondary, .btn-tertiary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin: 10px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.6);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-tertiary {
    background: linear-gradient(45deg, #ff5722, #e91e63);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.btn-tertiary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.6);
    color: white;
}

/* Floating particles animation */
.hero-section .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section .particle:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-section .particle:nth-child(2) {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 85%;
    animation-delay: 2s;
}

.hero-section .particle:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.2em;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary, .btn-tertiary {
        padding: 12px 25px;
        font-size: 14px;
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 45vh;
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
}
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary, .btn-tertiary {
        width: 250px;
        margin: 8px 0;
    }
    
    .custom-navbar .nav li a {
        padding: 10px 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 45vh;
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
    
    .custom-navbar .navbar-brand {
        font-size: 20px;
    }
    
    .custom-navbar .navbar-brand img {
        height: 35px;
    }
}

/* About Section Improvements */
#about {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    color: #333 !important;
    padding: 80px 0;
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

#about .container {
    position: relative;
    z-index: 2;
}

#about .section-title h2 {
    color: #2c3e50 !important;
    font-weight: 700;
    margin-bottom: 30px;
}

#about .section-title hr {
    border-color: #3498db;
    width: 60px;
    margin: 20px auto;
}

#about .bold {
    color: #2c3e50 !important;
    font-weight: 600;
}

#about .heading {
    color: #555 !important;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

#about img {
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.02);
}

/* Tab improvements for About section */
#about .nav-tabs {
    border-bottom: 2px solid #3498db !important;
    margin-top: 30px;
}

#about .nav-tabs > li > a {
    color: #2c3e50 !important;
    font-weight: 500;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

#about .nav-tabs > li > a:hover {
    background-color: rgba(52, 152, 219, 0.1) !important;
    border: none !important;
    color: #3498db !important;
}

#about .nav-tabs > li.active > a {
    background-color: #3498db !important;
    color: white !important;
    border: none !important;
    border-radius: 5px 5px 0 0 !important;
}

#about .tab-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

#about .tab-pane p {
    color: #555 !important;
    line-height: 1.7;
    margin-bottom: 15px;
}

#about .tab-pane ul {
    margin-left: 20px;
}

#about .tab-pane li {
    color: #555 !important;
    margin-bottom: 8px;
    line-height: 1.6;
}

#about .tab-pane strong {
    color: #2c3e50 !important;
}

/* Products Section Improvements */
.products-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 30%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.product-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #4caf50;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.product-card .btn:hover {
    background: #45a049;
    text-decoration: none;
    color: white;
}

/* Contact Section Improvements */
.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="10" cy="10" r="10" fill="url(%23a)"/><circle cx="30" cy="10" r="10" fill="url(%23a)"/><circle cx="50" cy="10" r="10" fill="url(%23a)"/><circle cx="70" cy="10" r="10" fill="url(%23a)"/><circle cx="90" cy="10" r="10" fill="url(%23a)"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

/* Override the main CSS contact background image */
#contact {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    color: #4caf50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #45a049);
    border-radius: 2px;
}

.contact-item {
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.contact-item h4 i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 1.2rem;
    width: 20px;
}

.contact-item a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #45a049;
    text-decoration: none;
    transform: translateX(5px);
}

.contact-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form Styling */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.form-title {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half-width {
    flex: 1;
    margin-bottom: 0;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #333;
}

.contact-form .form-control:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background: rgba(255, 255, 255, 1);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #999;
}

.contact-form select.form-control {
    cursor: pointer;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #45a049 0%, #4caf50 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit i {
	font-size: 1rem;
}

/* Form Message Styling */
.form-message {
	margin-top: 20px;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	animation: slideDown 0.3s ease;
}

.form-message.success {
	background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
	border: 1px solid #c3e6cb;
	color: #155724;
}

.form-message.error {
	background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.message-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.message-icon {
	font-size: 2rem;
	font-weight: bold;
}

.message-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
}

.message-text {
	margin: 0;
	line-height: 1.5;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Button Loading State */
.btn-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-submit:disabled:hover {
	transform: none;
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}/* Contact Section Title Enhancement */
.contact-section .section-title h2 {
    background: linear-gradient(135deg, #4caf50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.contact-section .section-title strong {
    color: #4caf50;
    text-shadow: 2px 2px 4px rgba(76, 175, 80, 0.2);
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form-wrapper {
        margin-bottom: 30px;
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half-width {
        margin-bottom: 20px;
    }
    
    .contact-item {
        text-align: center;
    }
    
    .contact-item h4 {
        justify-content: center;
    }
}

/* Animation for contact items */
.contact-item {
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.contact-item:nth-child(2) { animation-delay: 0.1s; }
.contact-item:nth-child(3) { animation-delay: 0.2s; }
.contact-item:nth-child(4) { animation-delay: 0.3s; }
.contact-item:nth-child(5) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-info h3 {
    color: #4caf50;
    margin-bottom: 20px;
}

.contact-info h4 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
}

.contact-info a:hover {
    color: #4caf50;
    text-decoration: none;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.testimonial {
    margin: 30px auto;
    width: 100%;
}

.testimonial p {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: bold;
    color: #4caf50;
}

/* Blog Section */
.blogs-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.blogs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.blog-card {
    width: 300px;
    padding: 20px;
    background: #fff;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.blog-card p {
    font-size: 1rem;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    .hero-content p {
        font-size: 1.2em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .products-container,
    .blogs-container {
        flex-direction: column;
        align-items: center;
    }
    
    .product-card,
    .blog-card {
        width: 90%;
        max-width: 350px;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
.btn:focus,
a:focus {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
}

/* Remove focus outline from navbar brand */
.custom-navbar .navbar-brand:focus,
.custom-navbar .navbar-brand span:focus {
    outline: none !important;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #4caf50;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Logo White Background - Very Specific Override */
section.navbar.custom-navbar img[src*="logo/Refined_AI_Analytics_Logo.png"] {
    background-color: white !important;
    padding: 10px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    border: 2px solid rgba(52, 152, 219, 0.1) !important;
    transition: all 0.3s ease !important;
}

section.navbar.custom-navbar img[src*="logo/Refined_AI_Analytics_Logo.png"]:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35) !important;
    border: 2px solid rgba(52, 152, 219, 0.2) !important;
}

/* REMOVED ALL DUPLICATE CONTAINER RULES - Using only the clean rules at top of file */

/* Ensure sections use proper width without breaking layout */
section {
    width: 100% !important;
    margin: 0 !important;
    padding: 60px 0 !important;
}

/* Fix any potential width constraints */
#work, #about, #partners, #products, #contact {
    width: 100% !important;
}

/* REMOVED DUPLICATE - Using container rules at top of file only */

/* Ensure body and html use full width */
html, body {
    width: 100% !important;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix Bootstrap 5 row behavior */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* Force content areas to use full width */
#work .container, 
#about .container, 
#partners .container, 
#products .container, 
#contact .container {
    max-width: none !important;
    width: 98% !important;
}

/* Fix content visibility and alignment */
.col-lg-4, .col-md-4, .col-md-6, .col-sm-12 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ensure text content is visible and properly spaced */
#work .row, #about .row, #partners .row, #products .row, #contact .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* Fix specific section content visibility */
#work {
    padding: 80px 0 !important;
}

#about {
    padding: 80px 0 !important;
}

#partners {
    padding: 80px 0 !important;
}

#products {
    padding: 80px 0 !important;
}

#contact {
    padding: 80px 0 !important;
}

/* Additional fixes for full width usage */
.section-title {
    width: 100% !important;
    max-width: none !important;
}

.col-md-12, .col-lg-12, .col-sm-12 {
    width: 100% !important;
    max-width: none !important;
}

/* Ensure specific sections don't have width constraints */
#testimonials, #blogs {
    width: 100% !important;
    max-width: none !important;
}

.testimonials-section, .blogs-section, .products-section, .contact-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Override any inherited width constraints */
* {
    box-sizing: border-box !important;
}

/* Force wrapper elements to full width */
main, #main-content {
    width: 100% !important;
    max-width: none !important;
}

/* FIXED: Better approach for container width without breaking layout - REMOVED DUPLICATE */

/* Remove problematic viewport width sections - restore normal flow */
section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    padding: 60px 0 !important;
}

/* Keep navbar positioning normal */
.custom-navbar {
    position: relative !important;
    left: auto !important;
    right: auto !important;
}

/* FINAL FIX: Force all Bootstrap containers to use full browser width */
@media (min-width: 576px) {
    .container, .container-sm, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .container, .container-sm, .container-md, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .container, .container-sm, .container-md, .container-lg, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* FINAL COMPREHENSIVE CLEANUP - All duplicate container rules removed - Only using the clean rules at top of file */
