/* Global Styles */
:root {
    --primary-color: #1a5276;
    --secondary-color: #2e86c1;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --light-text-color: #7f8c8d;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 110px; /* Height of navbar plus some extra space */
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.section-subtitle {
    color: var(--light-text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    transition: all 0.4s ease;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.navbar-brand {
    font-size: 1.8rem;
    text-decoration: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    max-width: 100%;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--accent-color);
    text-transform: uppercase;
    position: relative;
    line-height: 1.1;
}

.logo-text:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--secondary-color);
}

.subtitle-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding-top: 5px;
    color: var(--dark-color) !important;
}

.navbar .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-item {
    margin: 0 3px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 5px;
    background-color: rgba(240, 240, 240, 0.7);
    transition: all 0.3s ease;
    margin: 5px 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(220, 240, 240, 0.9);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 150px 0 80px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px; /* Standard Bootstrap container width */
    padding: 0 15px; /* Standard Bootstrap padding */
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-text {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-section .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 90px 0 40px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
    }
}

.hero-section .row {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 30px; /* Reduced top/bottom padding */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Center horizontally */
    max-width: 55%; /* Make it wider */
    text-align: center; /* Center text */
    width: 100%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 15px; /* Reduced margin */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    font-size: 2rem; /* Slightly smaller font */
}

.hero-section .lead {
    color: var(--dark-color);
    font-size: 0.9rem; /* Smaller font size for the subtitle */
    margin-bottom: 20px; /* Reduced margin */
}

.hero-section .btn-primary {
    padding: 12px 25px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-content {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Services Section */
.service-card {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.service-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* References Section */
.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.references-logo {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.references-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.references-logo img {
    height: 80px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 10px;
}

.references-logo p {
    margin-top: 10px;
    font-weight: 500;
}

/* Contact Section */
.contact-info {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-info-content h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 12px 15px;
}

.contact-form textarea.form-control {
    height: auto;
}

/* New Contact Card Styles */
.contact-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-info-card {
    padding: 25px;
    border-radius: 8px;
    background-color: #f8f9fa;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-card:hover {
    background-color: #e9ecef;
}

.contact-info-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.contact-info-card .btn {
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.contact-form textarea.form-control {
    height: 150px;
    min-height: 150px;
}

.contact-form .btn {
    padding: 12px 30px;
}

/* Useful Links Section */
.useful-links-section {
    background-color: var(--light-color);
}

.link-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-card .card {
    transition: all 0.3s ease;
    border-radius: 10px;
    border: none;
}

.link-card .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.link-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-card p {
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
}

.link-card .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.link-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}


/* Feature Cards */
.feature-card {
    padding: 30px;
    transition: all 0.3s;
    height: 100%;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.3rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.feature-card p {
    color: var(--dark-color);
    margin-bottom: 0;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .footer {
        text-align: center;
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }
    
    .footer h5 {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 18px;
    }
    
    .footer-links {
        margin-bottom: 25px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    
    .social-links a {
        margin: 0 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-bottom {
        margin-top: 30px;
        width: 100%;
        padding: 15px 10px;
    }
    
    .footer-bottom p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer p {
        margin-bottom: 10px;
    }
    
    .footer p a {
        display: inline-block;
        margin-bottom: 5px;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
}

.copyright {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 40px;
        max-height: 350px;
        object-fit: cover;
        margin: 40px auto 0;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
        max-width: 75%;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .subtitle-text {
        font-size: 0.9rem;
        display: block;
        margin-left: 0;
    }
    
    .hero-section .row {
        max-width: 90%;
        padding: 15px;
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 15px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card, .about-content {
        margin-bottom: 20px;
        padding: 20px 15px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-section .row {
        max-width: 95%;
        padding: 15px 10px;
    }
    
    .navbar-light .navbar-nav .nav-link {
        text-align: center;
        margin: 5px 0;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .video-container {
        height: 100%;
    }
    
    .hero-video {
        height: 100%;
        max-height: none;
    }
    
    .row.mt-5 {
        margin-top: 2rem !important;
    }
}

@media (max-width: 575px) {
    .navbar {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .subtitle-text {
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 120px 0 50px;
        min-height: 450px;
        display: flex;
        align-items: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .video-container {
        height: 100%;
        position: absolute;
    }
    
    .hero-video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-section .row {
        max-width: 100%;
        margin: 0 10px;
        padding: 15px 5px;
    }
    
    .hero-section .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    body {
        padding-top: 80px;
    }
    
    .navbar-brand img {
        max-height: 70px !important;
    }
    
    /* Footer styles for extra small screens */
    .footer {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 12px;
        margin-top: 15px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a,
    .footer p {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        margin-right: 6px;
        margin-bottom: 6px;
    }
    
    .social-links a i {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 12px;
        padding-bottom: 10px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .footer h5 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .references-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Make feature cards more responsive */
.features-section {
    padding: 50px 0; /* Reduced padding */
    overflow: hidden;
    width: 100%;
}

@media (max-width: 767px) {
    .features-section {
        padding: 30px 0;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        padding: 8px 12px;
    }
}

/* Ensure all sections fit width */
section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


